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

29 lines
701 B
Ucode

/*
--------------------------------------------------------------
Condition_Triggered
--------------------------------------------------------------
This Condition is marked complete when its owning objective is
the recipient of a trigger event
Author : Alex Quick
--------------------------------------------------------------
*/
class ObjCondition_Triggered extends KF_ObjectiveCondition
hidecategories(Difficulty)
editinlinenew;
/* returns the percentage of completion for this condition */
function float GetCompletionPct()
{
return float(bWasTriggered);
}
defaultproperties
{
HUD_Screen=(Screen_ProgressStyle=HDS_TextOnly)
}