Ok im making a fissure type spell...and i want the dummy to cast warstomp as hes moved in the loop every .05 seconds..but he wont do it...yet i tried reducing the time down to .5 and it works...just idk..but ive seen people make it so abilitys can be cast as fast as u can click..what did i do wrong...?
second part
Trigger:
- Begin
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to V fissure
- Actions
- Set Caster = (Casting unit)
- Set PositionoFCaster = (Position of Caster)
- Set DirectionoFCAsterfacing = (Facing of Caster)
- Unit - Create 1 RoCk(pwned) for (Owner of Caster) at (PositionoFCaster offset by 75.00 towards DirectionoFCAsterfacing degrees) facing DirectionoFCAsterfacing degrees
- Set Dummy = (Last created unit)
- Unit - Add RAWR! to Dummy
- Set Vint = 0
- Custom script: call RemoveLocation(udg_PositionoFCaster)
- Trigger - Turn on Firstline <gen>
- Wait 0.50 seconds
- Set DirectionoFCAsterfacing = ((Facing of Caster) + 60.00)
- Wait 0.50 seconds
- Trigger - Turn off Firstline <gen>
- Wait 5.00 seconds
- For each (Integer A) from 1 to Vint, do (Actions)
- Loop - Actions
- Destructible - Remove Destrucarray[(Integer A)]
- Loop - Actions
- Unit - Remove RAWR! from Dummy
- Unit - Remove Dummy from the game
- Events
second part
Trigger:
- Firstline
- Events
- Time - Every 0.05 seconds of game time
- Conditions
- Actions
- Set PositionoFdummy = (Position of Dummy)
- Unit - Move Dummy instantly to (PositionoFdummy offset by 75.00 towards DirectionoFCAsterfacing degrees)
- Unit - Order Dummy to Orc Tauren Chieftain - War Stomp
- Destructible - Create a Rock Chunks at PositionoFdummy facing (Random angle) with scale 0.50 and variation 0
- Set Vint = (Vint + 1)
- Custom script: call RemoveLocation(udg_PositionoFdummy)
- Set Destrucarray[Vint] = (Last created destructible)
- Events