- Joined
- Oct 8, 2005
- Messages
- 409
I made a spell but, when ever the spell kills a units...the corpse freezes (standing up). This is a bug.
The spell is supose to make a naga royal guard wag his tail and throw enemy units.
The spell is supose to make a naga royal guard wag his tail and throw enemy units.
-
Tail Whip
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Tail Whip
-
-

Actions
-


Trigger - Turn on Tail Whip Whip Effect <gen>
-


Set Tail_Whip_Target = (Target point of ability being cast)
-


Set Tail_Whip_UnitGroup = (Units within 300.00 of Tail_Whip_Target)
-


Set Tail_Caster = (Triggering unit)
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






Or - Any (Conditions) are true
-







Conditions
-








Player 1 (Red) Equal to (Owner of (Picked unit))
-








Player 3 (Teal) Equal to (Owner of (Picked unit))
-








Player 4 (Purple) Equal to (Owner of (Picked unit))
-








Player 5 (Yellow) Equal to (Owner of (Picked unit))
-








Player 6 (Orange) Equal to (Owner of (Picked unit))
-








Player 7 (Green) Equal to (Owner of (Picked unit))
-
-
-
-





Then - Actions
-






Unit Group - Remove (Picked unit) from Tail_Whip_UnitGroup
-
-





Else - Actions
-
-
-
-


Wait 1.50 seconds
-


Trigger - Turn off Tail Whip Whip Effect <gen>
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Unit - Pause (Picked unit)
-
-
-


Trigger - Turn on Tail Whip Effect <gen>
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Animation - Play (Picked unit)'s attack defend animation
-




Unit - Turn collision for (Picked unit) Off
-
-
-


Wait 0.50 game-time seconds
-


Trigger - Turn off Tail Whip Effect <gen>
-


Special Effect - Destroy (Last created special effect)
-


Wait 0.50 game-time seconds
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Animation - Reset (Picked unit)'s animation
-




Unit - Turn collision for (Picked unit) On
-




Unit - Unpause (Picked unit)
-
-
-


Wait 0.50 game-time seconds
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Animation - Reset (Picked unit)'s animation
-




Unit - Turn collision for (Picked unit) On
-




Unit - Unpause (Picked unit)
-
-
-


Wait 0.50 game-time seconds
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Animation - Reset (Picked unit)'s animation
-




Unit - Turn collision for (Picked unit) On
-




Unit - Unpause (Picked unit)
-
-
-
-
-
Tail Whip Effect
-

Events
-


Time - Every 0.01 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in Tail_Whip_UnitGroup and do (Actions)
-



Loop - Actions
-




Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 10.00 towards (Facing of Tail_Caster) degrees), facing (Position of Tail_Caster)
-
-
-
-
-
Tail Whip Whip Effect
-

Events
-


Time - Every 0.25 seconds of game time
-
-

Conditions
-

Actions
-


Unit - Make Tail_Caster face ((Facing of Tail_Caster) + 60.00) over 0.20 seconds
-


Animation - Play Tail_Caster's walk animation
-
-







