PushActorAway - ObjectReference

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Function PushActorAway(Actor akActorToPush, float afKnockbackForce) native

Parameters

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

Return Value

None.

Examples

ExplosionMarker.PushActorAway(Bill, 10.0)

See Also