Apply Force Options: Action, Create Thread Return Type: (None) Parameters Unit = (Triggering unit) Initial Force = 1.0 Direction = (Facing of (Triggering unit)) Duration = 1.0 Bounce = False Grammar Text: Apply Force(Unit, Initial Force, Direction, Duration, Bounce) Hint Text: (None) Custom Script Code Local Variables force = Initial Force steps = (Duration * 16.0) temppoint = No Point inta = 0 ------- Mist vs Pulse and Punish mist = No Unit radius = 0.0 modified step = 0.0 distance = 0.0 Actions General - If (Conditions) then do (Actions) else do (Actions) General - While (Conditions) are true, do (Actions) Conditions force > 0.0 Actions General - If (Conditions) then do (Actions) else do (Actions) General - If (Conditions) then do (Actions) else do (Actions) If (((Position of Unit) offset by force towards Direction degrees) is passable) == True Then General - If (Conditions) then do (Actions) else do (Actions) If Then Else Unit - Move Unit instantly to ((Position of Unit) offset by force towards Direction degrees) (Blend) Variable - Modify force: - (Initial Force / steps) Else General - Wait 0.0625 Game Time seconds