I'm a doctor, not a mechanic
UE2:Action_ConsoleCommand (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> ScriptedAction >> Action_ConsoleCommand |
Contents |
- Package:
- Gameplay
- This class in other games:
- U2, UE2Runtime, UT2003
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.
