- Joined
- May 31, 2008
- Messages
- 698
-
Line of Frost
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Line of Frost
-
Actions
- Set Temp_Point[4] = (Position of (Triggering unit))
- Set Temp_Point[5] = ((Target point of ability being cast) offset by 1000.00 towards (Angle from (Position of (Triggering unit)) to (Target point of ability being cast)) degrees)
- Set Temp_Point[6] = (Position of (Triggering unit))
-
For each (Integer A) from 1 to ((Level of Line of Frost for (Triggering unit)) + 3), do (Actions)
-
Loop - Actions
- Set Temp_Point[4] = (Temp_Point[6] offset by 200.00 towards (Angle from Temp_Point[4] to Temp_Point[5]) degrees)
- Custom script: call RemoveLocation(udg_Temp_Point[6])
- Unit - Create 1 Frost Dummy for (Owner of (Triggering unit)) at Temp_Point[4] facing Default building facing degrees
- Set Temp_Point[6] = (Position of (Last created unit))
- Unit - Add a (Real((Level of Line of Frost for (Triggering unit)))) second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_Temp_Point[4])
- Wait (0.20 / (Real((Level of Line of Frost for (Triggering unit))))) seconds
-
Loop - Actions
-
Events
BTW sometimes this works perfectly, but not always and idk why, i think it might have to do with the target being too close to the caster as i said before