I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:Action_ConsoleCommand (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> ScriptedAction >> Action_ConsoleCommand
Package: 
Gameplay
This class in other games:
UT2003, 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.