Is In List
Is In List
True
False
- Group
- Conditions
- In the node menu
- Conditions › Actor › Is In List
- Where it can be used
- Scheme graphs
- Tags
- Also found as
- Is Accomplice
What it does
Section titled “What it does”Is In List asks whether one actor is in an Actor List. The list can be the accomplices of the scheme, a list of this scheme, a list of the world, or a list of an actor, a clan or a family. It continues through True when the actor is in it and through False when not.
Example
Section titled “Example”Is In List
Helper is in Accomplices
True
False
When to use it
Section titled “When to use it”Use it to ask about one actor you already hold, for example before adding them to a list or offering them a place. The menu has a preset, “Is Accomplice”, that starts with the accomplices list.
Use Check Actors instead to ask about the list as a whole, such as whether it is empty or how many it holds.
Good to know
Section titled “Good to know”- When the actor cannot be found, or the chosen variable is not an Actor List, the node has no answer. If the other conditions do not settle the result, the flow stops there.
- An accomplice who dies leaves the Accomplices list, unless the scheme says its dead accomplices stay. Other Actor Lists keep their dead.
- 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 Is In List, 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 | none: must be set | The actor that is looked for in the list. |
| List | List | Actor List | "Accomplices" | The list: Accomplices, a list of this scheme, of the World, or of an actor, clan or family. |
| draft only | Negate | bool | false |
|
| draft only | ExtraConditions | rows of ConditionData | not in the data |
|
* No default: a draft must set it.
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""Is In List"- Other
"type"names "Is Accomplice""set"keysActor,List,Negate,ExtraConditions"then"keys"True","False"- As a condition row
"kind": "Is In List"
"<alias>": { "type": "Is In List", "set": { "Actor": … }, "then": { "True": "<alias>", "False": "<alias>" }}