PushActorAway

DescriptionEdit

PushActorAway Knocks down (ragdoll-izes) one actor and pushes it away from another with a given force.

SyntaxEdit

[ActorREF]PushActorAway TargetREF iForce 

ExamplesEdit

BuddyRef.PushActorAway FredRef 10

Fred would move away from Buddy with a havok force of 10.

BuddyRef.PushActorAway FredRef -50

Fred will be pulled towards Buddy with a havok force of 50. If they are standing close enough, Fred will slide past Buddy, pushing Buddy away in the process.

NotesEdit

  • iForce is an integer value.
  • An actor that has been pushed can have its inventory accessed by the player until the actor gets up again.


See AlsoEdit

ReferenceEdit

None provided.