Gather Actors
Gather Actors
Found
Not Found
- Group
- Actors
- In the node menu
- Actors › Gather Actors
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”A Gather Actors puts every actor of a group that meets your conditions into an Actor List. Order and At most decide which actors make it and in what order.
Found runs when at least one actor was found. Not Found runs when none was. Later nodes can then go through the list, or pick from it.
Example
Section titled “Example”Gather Actors
Fill Courtiers with 5 at random of Target's Clan
where Candidate is alive
AND Age of Candidate ≥ 16
Found
Not Found
When to use it
Section titled “When to use it”Use it to build a cast or a guest list in one step: the three oldest of a clan, every living relative, a handful of courtiers.
Use Find Actor instead when you need only one actor. Use Add To List to add one known actor to a list.
Good to know
Section titled “Good to know”- With Replace the list, the list holds exactly the actors found. When nobody is found, it ends up empty.
- With Add to the list, the actors go to the end of the list.
- A change to Accomplices starts the scheme’s On Accomplice Joined and On Accomplice Left nodes for each actor who joins or leaves. An actor is in a list once, so repeats are left out.
- A random order is new each time the node runs. In the listed order, the group decides: a clan lists its members in the order they joined.
- With the listed order and At most, the conditions are checked only until enough actors match.
- If the group or the list is not available, the flow stops at this node.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| From | From | among | not in the data |
|
| Where | Where | rows of ConditionData | not in the data |
|
| Order | Order |
| "AsListed" | The order the actors are put into the list. As listed: the order of the group.
|
| If Tied | IfTied |
| not in the data | Shown if there can be a tie What decides the order of actors of the same age.
|
| At most | Limit | integer | 0 | The most actors to take, in the order above. No limit: everyone.
|
| Into | Into | Actor List | "Accomplices" | The list that gets the actors: Accomplices, a list of this scheme, of the World, or of an actor, clan or family. |
| Mode | Mode |
| "Replace" | Replace the list: it holds exactly the actors found. Add to the list: they are added at the end and the list keeps the actors it had. |
Outputs
Section titled “Outputs”- Found
- Not Found
In a draft
Section titled “In a draft”"type""Gather Actors""set"keysFrom,Where,Order,IfTied,Limit,Into,Mode"then"keys"Found","Not Found"
"<alias>": { "type": "Gather Actors", "then": { "Found": "<alias>", "Not Found": "<alias>" }}