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

30 lines
675 B
Ucode

/*
--------------------------------------------------------------
Condition_Touch
--------------------------------------------------------------
This Condition is marked complete when a player encroaches the
collision cylinder of its owning Objective actor.
Author : Alex Quick
--------------------------------------------------------------
*/
class ObjCondition_Touch extends KF_ObjectiveCondition
hidecategories(Difficulty)
editinlinenew;
/* returns the percentage of completion for this condition */
function float GetCompletionPct()
{
return float(GetObjOwner().bWasTouched) ;
}
DefaultProperties
{
}