| 09-01-2003, 02:27 PM | #1 |
i am making a new AoS style map(see sig) in which when your hero dies, he is revived in a short amount of time. The problem is, the trigger seems to be misfiring. When the hero uses an ability such as "roar" or a summoning spell of some sort, he is teleported back to the revival area instantly. Here is part of the trigger for one hero: _______________________________________________ EVENT Unit - Creator 0034 <gen> Dies CONDITION ((Owner of (Triggering unit)) Not equal to Neutral Passive) and (((Triggering unit) is A Hero) Equal to True) ACTION-- If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Hero level of (Triggering unit)) Equal to 1 Then - Actions Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: The Creator has fal... Wait 5.00 seconds Hero - Instantly revive (Dying unit) at (Center of Egypt Spawn <gen>), Show revival graphics Else - Actions Do nothing ____________________________________________ there are 19 more if-then-else actions like this, each for the next hero level with a longer amount of wait time. Why do the heroes get sent back to the revival area upon the use of some spells? |
| 09-01-2003, 03:54 PM | #2 |
One thing...don't make 19 triggers when one can do. Figure out some forumula for your wait time...like 5 seconds * Hero Level. Add a condition (Unit is not an Illusion) too. I've seen illusion units cause a revive trigger when they died...summoned units might too if they are considered heroes. |
| 09-01-2003, 07:46 PM | #3 |
Guest | Also use Dying unit and Owner of Dying unit.. Try not to ever use triggering unit because that applies toa lot of events. |
