Skip to content

Store Actor

Group
Actors
In the node menu
Actors › Store Actor
Where it can be used
Scheme graphs
Tags
  • Can be folded

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.

A Store Actor of the demo scheme Scheme 1: Court Favour (Drafts/schemes/01-court-favour.json). The target's spouse becomes the scheme's Consort.

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.

  • 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).
LabelDraft keyTypeDefaultShown if, tooltip and notes
Store InVariableID*Store In (Actor)none: must be setAn Actor variable of this scheme. Add one in the Variables panel.
ActorActor*ActorRefnone: must be setThe 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.

  1. Out
"type"
"Store Actor"
"set" keys
VariableID, Actor
"then" keys
"Out"
"<alias>": {
"type": "Store Actor",
"set": { "VariableID": …, "Actor": … },
"then": "<alias>"
}