Store Actor
Store Actor
- Group
- Actors
- In the node menu
- Actors › Store Actor
- Where it can be used
- Scheme graphs
- Tags
What it does
Section titled “What it does”A Store Actor puts an actor into an Actor variable of this scheme. Name the actor by who they are, such as Target, or by a relation, such as Target’s spouse, and any later node can reach that actor through the variable’s name.
If the actor is not there, for instance because the target has no spouse, the variable is emptied instead of keeping whoever it held before, and the flow goes on without a stop.
Example
Section titled “Example”Store Actor
Stores Target's spouse in Consort
When to use it
Section titled “When to use it”Use it when a later node needs an actor by name and you already know who it is. The target’s spouse is one case. The conspirator’s heir is another.
Use Find Actor instead when the actor has to be picked from a group. Use Set Variable for Actor variables that belong to the World, an actor, a clan or a family.
Good to know
Section titled “Good to know”- A scheme variable holds one actor per scheme run. The last store wins.
- With no actor chosen, the card shows an error, and a run stops with the text Choose the actor to store.
- If the variable is missing or is not an Actor variable, the flow stops. The node runs only in scheme graphs.
- It can fold into a Then also line on the output of another node (see Folding).
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Store In | VariableID* | Store In (Actor) | none: must be set | An Actor variable of this scheme. Add one in the Variables panel. |
| Actor | Actor* | ActorRef | none: must be set | The actor to store. When that actor is not there (Target has no spouse, for example), the variable is emptied and the flow goes on. |
* No default: a draft must set it.
Outputs
Section titled “Outputs”- Out
In a draft
Section titled “In a draft”"type""Store Actor""set"keysVariableID,Actor"then"keys"Out"
"<alias>": { "type": "Store Actor", "set": { "VariableID": …, "Actor": … }, "then": "<alias>"}