Compare Other Scheme Variable
Compare Other Scheme Variable
True
False
Not Running
- Group
- Variables
- In the node menu
- Variables › Compare Other Scheme Variable
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”This node reads a variable of a scheme that another actor is running, and compares it with a value. You say who runs that scheme, against whom, and which scheme it is.
When no such scheme is running, the story goes on through Not Running.
Example
Section titled “Example”Compare Other Scheme Variable
Season of War: Season ≥ 4
Run by Conspirator against Target
True
False
Not Running
When to use it
Section titled “When to use it”Use it when one scheme needs to know how far another has come, such as a war that has gone on for some seasons.
Use Compare Variable instead for a variable of the scheme that is running now.
Good to know
Section titled “Good to know”- With no scheme running between those two actors, the flow goes through Not Running.
- When an actor is not available, no scheme is chosen, or the other scheme has no such variable, the flow stops.
- With no variable chosen, the card shows an error.
- The comparison must suit the kind of variable. Otherwise the card shows an error.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Run By | Actor | ActorRef | "Conspirator" | The actor who runs the other scheme. |
| Against | Other | ActorRef | "Target" | The target of the other scheme. |
| Scheme | SchemeID* | name of Scheme | none: must be set | |
| Variable | VariableID | text | "" | |
| Comparison | Op |
| "=" | |
| Value | Value | VariableValue | not in the data |
* No default: a draft must set it.
Outputs
Section titled “Outputs”- True
- False
- Not Running
In a draft
Section titled “In a draft”"type""Compare Other Scheme Variable""set"keysActor,Other,SchemeID,VariableID,Op,Value"then"keys"True","False","Not Running"
"<alias>": { "type": "Compare Other Scheme Variable", "set": { "SchemeID": … }, "then": { "True": "<alias>", "False": "<alias>", "Not Running": "<alias>" }}