- Joined
- Aug 14, 2006
- Messages
- 7,614
Hey.
I have a little problem. I have done thousands of this type of triggers but I don't understand what's wrong with this one. The trigger doesn't do any damage to player 1's units.
The one who helps will get some rep.
I have a little problem. I have done thousands of this type of triggers but I don't understand what's wrong with this one. The trigger doesn't do any damage to player 1's units.
-
Elite Boss TORNADO DMG
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
Set TempGroup = (Units in Elite Boss Fightning Area WHOLE <gen> matching (((Unit-type of (Matching unit)) Equal to Tornado (ELITE BOSS)) and (((Matching unit) is alive) Equal to True)))
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
-
Set TempLoc = (Position of (Picked unit))
-
Set TempGroup2 = (Units owned by Player 1 (Red))
-
Set TempGroup3 = (Units within 350.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and (((Matching unit) has buff Invulnerable) Equal to False))))
-
Set TempGroup4 = (Units within 250.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and (((Matching unit) has buff Invulnerable) Equal to False))))
-
Set TempGroup5 = (Units within 150.00 of TempLoc matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is in TempGroup2) Equal to True) and (((Matching unit) has buff Invulnerable) Equal to False))))
-
Unit Group - Pick every unit in TempGroup3 and do (Actions)
-
Loop - Actions
-
Unit - Cause ELITE_BOSS to damage (Picked unit), dealing Tornado_Damage_1 damage of attack type Spells and damage type Normal
-
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\FlakCannons\FlakTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
-
Unit Group - Pick every unit in TempGroup4 and do (Actions)
-
Loop - Actions
-
Unit - Cause ELITE_BOSS to damage (Picked unit), dealing Tornado_Damage_2 damage of attack type Spells and damage type Normal
-
-
-
Unit Group - Pick every unit in TempGroup5 and do (Actions)
-
Loop - Actions
-
Unit - Cause ELITE_BOSS to damage (Picked unit), dealing Tornado_Damage_3 damage of attack type Spells and damage type Normal
-
-
-
Custom script: call RemoveLocation(udg_TempLoc)
-
Custom script: call DestroyGroup(udg_TempGroup2)
-
Custom script: call DestroyGroup(udg_TempGroup3)
-
Custom script: call DestroyGroup(udg_TempGroup4)
-
Custom script: call DestroyGroup(udg_TempGroup5)
-
-
-
Custom script: call DestroyGroup(udg_TempGroup)
-
-