Skip to main content

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

ParameterDescription
BaseObjectThe character whose role is checked (Self or Target).
CompareTypeNumeric comparison, including InRange / OutRange.
S1ContextId of DA_Context, or {SelectedContext} for the Context picked on the talk menu item.
S2Role name, the same as HasContext.
F1Step number to compare against, from 1 to the Context's number of Steps.
F2Upper bound when CompareType is InRange or OutRange.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2F1F2
The witness who owns the Context has reached the second StepTargetContextStepGreaterOrEqualContext_AffairWitness_SpouseWitness2
Self, as the subject (the cheater), is in the first or second StepSelfContextStepInRangeContext_AffairWitness_SpouseSubject12