The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:Action_ConsoleCommand (UT2003)

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

Executes a console command in the context of the ScriptedSequence's controller. Since this is always an AI or dummy controller, some player-specific commands may not work as expected or at all.

Properties[edit]

Property group 'Action'[edit]

CommandStr[edit]

Type: string

The console command to execute.

Default values[edit]

Property Value
ActionString "console command"

Instance functions[edit]

GetActionString[edit]

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

Returns the action string, including the command to execute.

InitActionFor[edit]

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Executes the specified console command.