Skip to main content

Execute_AddContextStep

Description

Adds F1 to the Progression of the S1 Context the BaseObject takes part in as the S2 role, picked the same way as HasContext, up to the Context's number of Steps. Progression N opens the Nth Step, so F1 = 1 moves a Context opened by Progression one Step up; a Step already reached by time may stay. It never creates a Context, so nothing happens when none matches. Every matched Context grows. The Step is recalculated on the next Context update while the Context is Main, and its triggers run then.

With {SelectedContext} in S1, it grows only the Context the Self picked on the incident talk menu item of the running interaction: a Context the Self owns, the Target takes part in, and that has an context name. BaseObject and S2 are not used, and S2 must be empty. Nothing happens when the interaction has no picked Context or the picked Context has ended or expired before the script runs; no other Context grows in its place.

Parameters

ParameterDescription
BaseObjectThe character whose role is checked (Self or Target). Not used with {SelectedContext}.
S1ContextId of DA_Context, or {SelectedContext} for the Context picked on the talk menu item.
S2Role name, the same as HasContext. Leave empty with {SelectedContext}.
F1Progression to add. An integer of 1 or more.

Examples

DescriptionBaseObjectCommandS1S2F1
Self (the subject, who cheated) ignores the caller's callSelfAddContextStepContext_AffairWitness_SpouseSubject1
The incident talk Self picked ends, so its picked Context growsSelfAddContextStep{SelectedContext}1