- Joined
- Apr 14, 2008
- Messages
- 192
Needing help with a trigger UPDATE - [forzamoto]
This trigger I made is not working so well and it is leaking, what is supposed to happed is when the unit called zagarr gets hit once it summons 10 units around him but the problem show that when any unit gets hit summons 10 automatically, after the 10 have been summon around zagarr the trigger stops.
[FONT="]1. zagarr gets hit[/FONT]
[FONT="]2. 10 units are summoned[/FONT]
[FONT="]3. Make the effects on the attacked unit and attacking unit[/FONT]
[FONT="]4. End trigger[/FONT]
This trigger I made is not working so well and it is leaking, what is supposed to happed is when the unit called zagarr gets hit once it summons 10 units around him but the problem show that when any unit gets hit summons 10 automatically, after the 10 have been summon around zagarr the trigger stops.
[FONT="]1. zagarr gets hit[/FONT]
[FONT="]2. 10 units are summoned[/FONT]
[FONT="]3. Make the effects on the attacked unit and attacking unit[/FONT]
[FONT="]4. End trigger[/FONT]
- zagarr
-
Events
- Unit - A unit owend by player 1 (Red) is attacked
- Unit - A unit owend by player 2 (Blue) is attacked
- Unit - A unit owend by player 3 (Teal) is attacked
- Unit - A unit owend by player 4 (Purple) is attacked
- Unit - A unit owend by player 5 (Yellow) is attacked
- Unit - A unit owend by player 6 (Orange) is attacked
- Unit - A unit owend by player 7 (Green) is attacked
- Unit - A unit owend by player 8 (Pink) is attacked
-
Conditions
- I need to know a Condition for this that will work
-
Actions
- Unit - Create 5 Baby beast for (Owner of (Attacked unit)) at (Position of(Attacked unit)) facing Default building faceing degrees
- Special Effect - Create a special effect attached to the chest of (Attacked unit) using Objects\Spawnmodels\NightElf\NEDeathSmall\NEDeathSmall.mdl
- Special Effect - Create[ a special effect attached to the chest of (Attacking unit) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Trigger - Turn off (This trigger)
Last edited: