Background for Fallout 4
Member of the ObjectReference script
voidfunctionPushActorAway(ActorakActorToPush, floataiKnockbackForce)Native

Description

Wiki Description

Knocks back the specified actor away from this object with the specified amount of force, as if an explosion had gone off.

Documentation Comment

Pushes the passed-in actor away from this object, using the passed in knockback force to determine the speed


Caveats


Parameters

ActorakActorToPush

CK Wiki Description

The actor to push away.

floataiKnockbackForce

CK Wiki Description

The amount of force to apply to the target actor.


Examples

ExplosionMarker.PushActorAway(Bill, 10.0)

Auto-Generated Example

Actor myActor__akActorToPush
float myFloat__aiKnockbackForce

myObjectReference__toCallFunctionOn.PushActorAway(myActor__akActorToPush, myFloat__aiKnockbackForce)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.