I'm making this Frozen Orb spell a bit like the one from Diablo 2.
It's really just a dummy unit, moving to a point with the Phoenix Fire(Ice Shards) ability added to it. But I've gotten a problem with the Phoenix Fire/Ice Shards not firing at enemy units when the dummy unit/Frozen Orb unit goes out of sight.
Here's my trigger so far:
Is there anyway to keep the Frozen Orb firing Ice Shards at the enemy units, after it goes out of sight without giving the Orb/Dummy sight of it's own?
Help is much appreciated =)
It's really just a dummy unit, moving to a point with the Phoenix Fire(Ice Shards) ability added to it. But I've gotten a problem with the Phoenix Fire/Ice Shards not firing at enemy units when the dummy unit/Frozen Orb unit goes out of sight.
Here's my trigger so far:
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) offset by 800.00 towards (Angle from (Position of (Triggering unit)) to (Target point of ability being cast)) degrees)
- 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
Is there anyway to keep the Frozen Orb firing Ice Shards at the enemy units, after it goes out of sight without giving the Orb/Dummy sight of it's own?
Help is much appreciated =)