rott/kf_sources/KFMod/Classes/ACTION_KFHardChangeMap.uc
2026-07-14 20:27:09 +07:00

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"
}