home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
ACTION_ConsoleCommand.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
657b
|
28 lines
// ====================================================================
// Class: GamePlay.Action_ConsoleCommand
// Parent: GamePlay.ScriptedAction
//
// Executes a console command
// ====================================================================
class Action_ConsoleCommand extends ScriptedAction;
var(Action) string CommandStr; // The console command to execute
function bool InitActionFor(ScriptedController C)
{
if (CommandStr!="")
C.ConsoleCommand(CommandStr);
return false;
}
function string GetActionString()
{
return ActionString@CommandStr;
}
defaultproperties
{
ActionString="console command"
}