UE2:Action_ConsoleCommand (UT2003)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> ScriptedAction >> Action_ConsoleCommand |
- Package:
- Gameplay
- This class in other games:
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
Property group 'Action'
CommandStr
Type: string
The console command to execute.
Default values
Property | Value |
---|---|
ActionString | "console command" |
Instance functions
GetActionString
function string GetActionString ()
Overrides: ScriptedAction.GetActionString
Returns the action string, including the command to execute.
InitActionFor
function bool InitActionFor (ScriptedController C)
Overrides: ScriptedAction.InitActionFor
Executes the specified console command.