PushActorAway - ObjectReference

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.

SyntaxEdit

Function PushActorAway(Actor akActorToPush, float afKnockbackForce) native

ParametersEdit

  • akActorToPush: The actor to push away.
  • afKnockbackForce: The amount of force to apply to the target actor.

Return ValueEdit

None.

ExamplesEdit

ExplosionMarker.PushActorAway(Bill, 10.0)

See AlsoEdit