I'm a doctor, not a mechanic

UE2:ACTION_SetPhysics (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> ScriptedAction >> ACTION_SetPhysics
Package: 
Gameplay
This class in other games:
UT2003, U2, UT2004

Sets a new physics mode for the player who activated the script sequence.

Note: This action only calls the SetPhysics() function on the Instigator of the ScriptedController. It's up to the Pawn and its Controller to make use of the new physics mode for the Pawn's movement.

Properties

Property group 'Action'

NewPhysicsMode

Type: Actor.EPhysics

The physics mode to set.

Default values

Property Value
ActionString "change physics to "

Instance functions

GetActionString

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

Returns the numeric representation of the selected physics mode enum value appended to the action name.

InitActionFor

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Sets the Instigator's physics to the new physics mode.