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
| Parameter | Description |
|---|---|
| BaseObject | The game object (Self or Target) whose current state duration is checked |
| CompareType | Supported compare types: Greater, GreaterOrEqual, Less, LessOrEqual |
| F1 | Threshold in game minutes |
Examples
| Description | BaseObject | Command | CompareType | F1 |
|---|---|---|---|---|
| Check if Target has stayed in its current state for 30+ minutes | Target | StateElapsedMinutes | GreaterOrEqual | 30.0 |
| Check if Target entered its current state less than 10 minutes ago | Target | StateElapsedMinutes | Less | 10.0 |