| 11-06-2003, 05:38 AM | #1 |
i need a revive trigger plz u need 500 gold to be revived i need a trigger plz ty |
| 11-06-2003, 02:51 PM | #2 |
I realize that I risk sounding unhelpful, truearx, but this is a really simple trigger - by learning how to do this yourself, you'll improve upon your skill. Give it a try, if you're still stuck, I'll post a trigger for you. |
| 11-06-2003, 04:57 PM | #3 |
Event: A unit dies owner by "Player 1" Condition: Dying unit is a Hero equal to true Action: Text Message " Your Hero has died and will be revived in 30 seconds." Wait "30 seconds" Revive Dying Unit That is a very very easy trigger, open some maps learn from them cuz I know alot of people here are very tired of anewsers questions like this. I am not going to explain actions, and condtions, and events, I want you to learn it for you self so you are not asking this question or somthing like it in another 5 days or so. Hope this helps. |
| 11-06-2003, 10:43 PM | #4 |
i got one but it wont work that good lol here u go Untitled Trigger 016 Events Unit - A unit owned by Player 1 (Red) Dies Unit - A unit owned by Player 2 (Blue) Dies Unit - A unit owned by Player 3 (Teal) Dies Unit - A unit owned by Player 4 (Purple) Dies Conditions ((Dying unit) is A Hero) Equal to True Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Player 1 (Red) Current gold) Greater than or equal to 100 (Player 2 (Blue) Current gold) Greater than or equal to 100 (Player 3 (Teal) Current gold) Greater than or equal to 100 (Player 4 (Purple) Current gold) Greater than or equal to 100 Then - Actions Hero - Instantly revive (Dying unit) at (Center of Region 015 <gen>), Hide revival graphics Player - Add -100 to (Triggering player) Current gold Else - Actions Game - Display to (All players) the text: no more revives sor... somethings missing tho it wont work went u die again tho |
| 11-10-2003, 02:51 AM | #5 |
make an integer variable called Revive with an array from 1 to however many players there are that have a hero. E-A unit dies C-Dying unit is a hero equal to true A-Set Revive [player number of owner of dying unit] equal to real( hero level of dying unit x/+ a number A- Wait revive[player number of owner of dying unit] seconds A- Instantly revive dying unit at x location If you want it to say player name's hero has been killed and will revive in x seconds... do this: make a trigger that sets a variable of player names for each player, then add this before the wait in the trigger above: Game- display to all players the text : Name[player number of owner of dying unit] + 's hero has been killed and will be revived in + hero level of dying unit x 3 + seconds. If you want color then set name[number of player] equal to color code (look it up.. there was some site that showed the colors. it looks something like r|skdjf920923 hehe. Anyways, set name [1] (which would be red) to red color code + name lr or whatnot. Not very good at color codes but that's how to do it. real( = converion from integer to real # |
| 11-10-2003, 11:54 AM | #6 |
Events: A unit becomes revivable Condtions Actions: Wait for condition: Wait for Integer Comparision - (Gold of (owner of triggering unit) greater than or equal to 500 Add -500 gold to (owner of triggering unit) Revive (triggering unit) The best one in the whole thread - ) |
| 11-11-2003, 02:19 AM | #7 |
Doh! I should've read the first post before I typed all that stuff. heh.. Well.. if you want you can change the 3xhero level for time to be 20 or so x hero level gold.. That would be cool.. more gold cost per level. :D Or combine mine and vexes! or just dont use mine at all. hehe :D |
