PushActorAway - ObjectReference
From Creation Kit
Member of: ObjectReference Script
Knocks back the specified actor away from this object with the specified amount of force, as if an explosion had gone off.
Function PushActorAway(Actor akActorToPush, float afKnockbackForce) native
- akActorToPush: The actor to push away.
- afKnockbackForce: The amount of force to apply to the target actor.
- Use an XMarkerHeading object to control the exact direction in which the actor will be pushed.
- The force argument can be negative to pull actors toward your ObjectReference. (Before you ask, yes, someone beat you to it and made a Katamari mod out of this.)