I've gotten what I'd like to think is a rather simple problem here. I've made a spell, which works sort of like the Frozen Orb spell from Diablo 2. The only problem I'm having is my dummy unit stopping after reaching the targeted point of the ability being thrown.
What I would like for it to do, is continue in the direction of the targeted point, until it eventually dies out, like shockwave.
Help would be very appreciated =]
What I would like for it to do, is continue in the direction of the targeted point, until it eventually dies out, like shockwave.
Trigger:
- Frozen Orb
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Frozen Orb
- Actions
- Unit - Create 1 Dummy(FrozenOrb) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
- Unit - Add a 2.50 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Move To (Target point of ability being cast)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frozen Orb for (Triggering unit)) Equal to 1
- Then - Actions
- Unit - Add Ice Shards to (Last created unit)
- Unit - Set level of Ice Shards for (Last created unit) to 1
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frozen Orb for (Triggering unit)) Equal to 2
- Then - Actions
- Unit - Add Ice Shards to (Last created unit)
- Unit - Set level of Ice Shards for (Last created unit) to 2
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Frozen Orb for (Triggering unit)) Equal to 3
- Then - Actions
- Unit - Add Ice Shards to (Last created unit)
- Unit - Set level of Ice Shards for (Last created unit) to 3
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Do nothing
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Events
Help would be very appreciated =]