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

27 lines
641 B
Ucode

/*
--------------------------------------------------------------
Action_LoseGame
--------------------------------------------------------------
This Action ends the match in defeat, when Activated.
Author : Alex Quick
--------------------------------------------------------------
*/
class ObjAction_LoseGame extends KF_ObjectiveAction
editinlinenew
HideCategories(KF_ObjectiveAction);
function ExecuteAction(Controller ActionInstigator)
{
Super.ExecuteAction(ActionInstigator);
GetObjOwner().StoryGI.EndGame(ActionInstigator.PlayerReplicationinfo, "LoseAction") ;
}
DefaultProperties
{
}