Skip to content

Is Scheme Active

Group
Conditions
In the node menu
Conditions › Scheme › Is Scheme Active
Where it can be used
Scheme graphs
Tags
  • Also a condition row: Scheme Is Running

Is Scheme Active asks whether a scheme is running for an actor. The story goes on through Active when it is and through Not Active when it is not.

You choose the scheme and the ways a run can count: the Actor running it against the other actor or against anyone, the other actor or anyone running it against the Actor, or the Actor helping in it as an accomplice. One matching way is enough.

A node of the demo scheme Offer Terms (Drafts/schemes/17-offer-terms.json). It asks whether Season of War is running with the Conspirator against the Target. The first line is the scheme, the second the way it counts.

Use it when the next step depends on a scheme that may already be going, such as offering terms only while a war is on.

Use Check Scheme State instead to ask whether the scheme you are in has ended, or how it ended.

  • When the Actor cannot be read, the flow stops at the node. A missing Other Actor does not stop it: it counts as no one, and the setting’s tooltip says schemes without a target then match.
  • With no scheme chosen, the answer is Not Active and the card shows an error. With no way chosen under Counts When, the card shows “Choose when the scheme counts as active.” The answer is again Not Active.
  • As a row inside Check or Wait Until, the same check is called Scheme Is Running. The row writes it on one line, such as “Season of War running: Conspirator → Target”.
  • The node can hold more conditions with + Add another check, joined by AND or OR, each with NOT if you want it. With a single condition it acts as the plain check.
  • When the Actor is the Target and the scheme runs without one, the card warns and the flow stops at the node. Other Actor is left out of that warning.
LabelDraft keyTypeDefaultShown if, tooltip and notes
ActorActorActorRef"Conspirator"The actor whose schemes are checked.
Other ActorOtherActorRef"Target"The other side of the scheme, used by the "against Other Actor" and "Other Actor runs it" checks. When it is not available, schemes without a target match.
SchemeSchemeID*name of Schemenone: must be setThe scheme that must be running.
Counts WhenVerify
  • ToTarget (To Target)
  • ToAnyone (To Anyone)
  • FromAnyone (From Anyone)
  • FromTarget (From Target)
  • AsAccomplice (As Accomplice)
["ToTarget"]Which runs of the scheme count. To Target: Actor runs it against Other Actor. To Anyone: Actor runs it against anyone. From Anyone: anyone runs it against Actor. From Target: Other Actor runs it against Actor. As Accomplice: Actor helps in it as an accomplice, whoever runs it.
draft onlyNegateboolfalse
  • Every condition node has this setting.
  • The Studio shows the NOT mark on a condition's heading line instead, once the node has more than one condition.
draft onlyExtraConditionsrows of ConditionDatanot in the data
  • Every condition node has this setting.
  • The Studio shows "+ Add another check" under the node's own rows instead; each further condition gets a heading line (IF / AND / OR, NOT).

* No default: a draft must set it.

Draft only: a draft sets it; the Studio has no row of its own for it.

  1. Active
  2. Not Active
"type"
"Is Scheme Active"
"set" keys
Actor, Other, SchemeID, Verify, Negate, ExtraConditions
"then" keys
"Active", "Not Active"
As a condition row
"kind": "Scheme Is Running"
"<alias>": {
"type": "Is Scheme Active",
"set": { "SchemeID": … },
"then": { "Active": "<alias>", "Not Active": "<alias>" }
}