24 lines
444 B
Ucode
24 lines
444 B
Ucode
class ACTION_KFHardChangeMap extends ScriptedAction;
|
|
|
|
function bool InitActionFor(ScriptedController C)
|
|
{
|
|
local PlayerController CP;
|
|
|
|
ForEach C.AllActors(class'PlayerController',CP)
|
|
{
|
|
CP.ConsoleCommand("DISCONNECT");
|
|
//CP.ConsoleCommand("OPEN Entry?Game=KFMod.KFCinematicGame");
|
|
return false;
|
|
}
|
|
}
|
|
|
|
function string GetActionString()
|
|
{
|
|
return ActionString;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
ActionString="Main menu"
|
|
}
|