Check State
Check State
True
False
- Group
- Conditions
- In the node menu
- Conditions › Actor › Check State
- Where it can be used
- Scheme graphs
- Tags
What it does
Section titled “What it does”Check State asks whether an actor is alive or dead. It continues through True when the actor is in the state you chose, and through False when not. The card reads like a sentence, such as “Target is alive”.
Example
Section titled “Example”Check State
Conspirator is alive
AND Target is alive
True
False
When to use it
Section titled “When to use it”Use it before a scheme goes on with an actor who may have died since it began, such as the Target. Add a second condition to the same node when two actors must both be alive, as the example does.
Use Is AI instead to ask who plays an actor. Use Set State instead to change whether an actor is alive.
Good to know
Section titled “Good to know”- When the actor cannot be found, the node has no answer. If the other conditions do not settle the result, the flow stops there.
- The node can hold more conditions, joined by AND or OR, each with an optional NOT. The NOT switch of the node’s own condition shows only while the node has more conditions.
- The node also works as a row, called Alive or Dead, in the condition lists of Check and Wait Until.
- When the node reads the Target in a scheme that does not need a target, the card warns: in a run without a target the node has no answer, and the flow stops there unless the other conditions settle the result.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Actor | Actor | ActorRef | "Conspirator" | The actor whose state is checked. |
| Is | State |
| "Alive" | Alive or dead. |
| draft only | Negate | bool | false |
|
| draft only | ExtraConditions | rows of ConditionData | not in the data |
|
Draft only: a draft sets it; the Studio has no row of its own for it.
Outputs
Section titled “Outputs”- True
- False
In a draft
Section titled “In a draft”"type""Check State""set"keysActor,State,Negate,ExtraConditions"then"keys"True","False"- As a condition row
"kind": "Alive or Dead"
"<alias>": { "type": "Check State", "then": { "True": "<alias>", "False": "<alias>" }}