PushActorAwayAlt
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
An alternate version of the vanilla PushActorAway: Knocks down (ragdolls) the calling actor, and either pushes it away from, or pulls it towards a 3D coordinate point of origin, relative to the actor's world position.
- The 1st argument specifies the Havok force applied on the actor. A positive value pushes the actor away from the origin, whereas a negative value pulls it towards the origin.
- Arguments 2 through 4 (origin X/Y/Z modifiers) are all optional and default to 0.
Syntax
actor.PushActorAwayAlt force:int posXmod:float posYmod:float posZmod:float
Example
actorRef.PushActorAwayAlt 30 -100 50 -20
actorRef.PushActorAwayAlt -45 0 0 500