Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE2:ACTION_SetPhysics (UT2003)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> ScriptedAction >> ACTION_SetPhysics |
Contents |
- Package:
- Gameplay
- This class in other games:
- U2, UE2Runtime, 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.
[edit] Properties
[edit] Property group 'Action'
[edit] NewPhysicsMode
Type: Actor.EPhysics
The physics mode to set.
[edit] Default values
| Property | Value |
|---|---|
| ActionString | "change physics to " |
[edit] Instance functions
[edit] GetActionString
function string GetActionString ()
Overrides: ScriptedAction.GetActionString
Returns the numeric representation of the selected physics mode enum value appended to the action name.
[edit] InitActionFor
function bool InitActionFor (ScriptedController C)
Overrides: ScriptedAction.InitActionFor
Sets the Instigator's physics to the new physics mode.
