PushActorAway - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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.

Syntax[edit | edit source]

Function PushActorAway(Actor akActorToPush, float afKnockbackForce) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

ExplosionMarker.PushActorAway(Bill, 10.0)

See Also[edit | edit source]