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

23 lines
550 B
Ucode

//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ObjAction_GoToLastObjective extends ObjAction_GoToObjective
hideCategories(KF_ObjectiveAction)
editinlinenew;
function name GetTargetObj()
{
/* Last objective only returns anything meaningful at runtime */
if(GetObjOwner() != none && GetObjOwner().StoryGI != none)
{
return GetObjOwner().StoryGI.LastObjective.ObjectiveName ;
}
return '';
}
DefaultProperties
{
}