Difference between revisions of "PushActorAway - ObjectReference"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Evernewjoy |
||
Line 21: | Line 21: | ||
ExplosionMarker.PushActorAway(Bill, 10.0) | ExplosionMarker.PushActorAway(Bill, 10.0) | ||
</source> | </source> | ||
Note: Use an XMarkerHeading object to control the exact direction in which the actor will be pushed. | |||
''Use a filter of "xmarker" and search *All to find this object type. | |||
'' | |||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] |
Revision as of 03:52, 14 February 2012
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)
Note: Use an XMarkerHeading object to control the exact direction in which the actor will be pushed.
Use a filter of "xmarker" and search *All to find this object type.