- Joined
- Mar 12, 2008
- Messages
- 437
-
For each (Integer A) from 1 to (175 + (25 x (Level of Acceleration for Contestant[1]))), do (Actions)
-
Loop - Actions
- Set P[1] = (Position of Contestant[1])
- Set P[2] = (P[1] offset by 2.00 towards (Facing of Contestant[1]) degrees)
- Unit - Move Contestant[1] instantly to P[2]
- Custom script: call RemoveLocation(udg_P[1])
- Custom script: call RemoveLocation(udg_P[2])
- Wait 0.01 game-time seconds
-
Loop - Actions
I tried to make the Integer A value lower while making the P[2] value higher.
P[1] and P[2] are point variables, and Contestant[1] is the unit casting the ability. Acceleration is the name of the spell.