Skip to main content

Condition_StateElapsedMinutes

Description

Compares the game-minutes elapsed since the BaseObject entered its current state (the state that Condition_State checks) against F1. Changing to another state restarts the count. Changing to the state the object is already in does not.

Parameters

ParameterDescription
BaseObjectThe game object (Self or Target) whose current state duration is checked
CompareTypeSupported compare types: Greater, GreaterOrEqual, Less, LessOrEqual
F1Threshold in game minutes

Examples

DescriptionBaseObjectCommandCompareTypeF1
Check if Target has stayed in its current state for 30+ minutesTargetStateElapsedMinutesGreaterOrEqual30.0
Check if Target entered its current state less than 10 minutes agoTargetStateElapsedMinutesLess10.0