Condition_ContextStep
Description
Compares the Step number of the S1 Context the BaseObject takes part in as the S2 role, picked the same way as HasContext. 1 is the first Step, opened at Progression 1. The number follows Progression right away, even before the Context becomes Main and runs that Step's triggers. When several Contexts match, the condition holds if any of them does. False when no Context matches.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose role is checked (Self or Target). |
| CompareType | Numeric comparison, including InRange / OutRange. |
| S1 | ContextId of DA_Context, or {SelectedContext} for the Context picked on the talk menu item. |
| S2 | Role name, the same as HasContext. |
| F1 | Step number to compare against, from 1 to the Context's number of Steps. |
| F2 | Upper bound when CompareType is InRange or OutRange. |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 | F1 | F2 |
|---|---|---|---|---|---|---|---|
| The witness who owns the Context has reached the second Step | Target | ContextStep | GreaterOrEqual | Context_AffairWitness_Spouse | Witness | 2 | |
| Self, as the subject (the cheater), is in the first or second Step | Self | ContextStep | InRange | Context_AffairWitness_Spouse | Subject | 1 | 2 |