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

UE2:Action_ConsoleCommand (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> ScriptedAction >> Action_ConsoleCommand

Contents

Package: 
Gameplay
This class in other games:
U2, UE2Runtime, 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.

[edit] Properties

[edit] Property group 'Action'

[edit] CommandStr

Type: string

The console command to execute.

[edit] Default values

Property Value
ActionString "console command"

[edit] Instance functions

[edit] GetActionString

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

Returns the action string, including the command to execute.

[edit] InitActionFor

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Executes the specified console command.