- Joined
- Mar 23, 2008
- Messages
- 942
My unit refuses to cast Stampede... Tried with "Target of ability being cast", tried ordering it right after creating it, tried removing locust... If I remove locust I can click on it ingame and manually cast the spell.
-
Gate start
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Gate of Babylon (based in channel)
-
Actions
- Set SpellPoint[1] = (Target point of ability being cast)
- Unit - Make (Casting unit) face SpellPoint[1] over 0.00 seconds
- Set SpellPoint[0] = (Position of (Casting unit))
- Set temppoint = (SpellPoint[0] offset by 150.00 towards (Angle from SpellPoint[1] to SpellPoint[0]) degrees)
- Unit - Create 1 Gate of Babylon for (Owner of (Casting unit)) at temppoint facing (Angle from SpellPoint[0] to SpellPoint[1]) degrees
- Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_temppoint)
- Set temppoint = (SpellPoint[0] offset by 100.00 towards (Angle from SpellPoint[0] to SpellPoint[1]) degrees)
- Unit - Create 1 Dummy Caster Gate for (Owner of (Casting unit)) at temppoint facing (Angle from SpellPoint[0] to SpellPoint[1]) degrees
- Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_temppoint)
- Custom script: call RemoveLocation(udg_SpellPoint[0])
- Set SpellPoint[0] = (Position of (Last created unit))
- Set temppoint = (SpellPoint[0] offset by 100.00 towards (Facing of (Last created unit)) degrees)
- Unit - Order (Last created unit) to Neutral Beastmaster - Stampede temppoint
- Trigger - Turn on Gate off <gen>
- Custom script: call RemoveLocation(udg_temppoint)
- Custom script: call RemoveLocation(udg_SpellPoint[0])
- Custom script: call RemoveLocation(udg_SpellPoint[1])
-
Events