27 lines
641 B
Ucode
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
|
|
{
|
|
|
|
}
|