Skip to content

On Accomplice Joined

Group
Events
In the node menu
Events › On Accomplice Joined
Where it can be used
Scheme graphs
Tags
  • No input

An On Accomplice Joined node starts a new flow each time an actor becomes an accomplice of the running scheme. It does not matter whether a node or game code added them.

The new accomplice goes into the variable you pick in Store In, so the nodes after it can act on that person.

The On Accomplice Joined node of the demo scheme Quiet Ending (Drafts/schemes/08-quiet-ending.json). The draft does not list Joiner among its variables, so the build declares it as an Actor variable of the scheme. Joined leads to a Set Variable node that adds 8 to Help.

Use it for what an accomplice’s arrival should cause, such as raising a help counter. The demo scheme Quiet Ending does that with a Set Variable node.

To add accomplices yourself, use Add To List with the Accomplices list.

  • Accomplices given when the scheme starts do not run this node. Meet them from Start.
  • The nodes after it keep reading the accomplice who started their flow, even when another one joins meanwhile. The variable itself holds the latest.
  • If the accomplice is no longer in the game when the node runs, the flow stops there.
  • Once the scheme’s End flow has begun, it no longer runs.
LabelDraft keyTypeDefaultShown if, tooltip and notes
Store InStoreInStore In (Actor)not in the dataA scheme Actor variable that gets the new accomplice, so the nodes after this one can pick them. Those nodes keep reading this accomplice even if another one joins meanwhile. The variable itself holds the latest.
  • none: "Nowhere"
  1. Joined
"type"
"On Accomplice Joined"
"set" keys
StoreIn
"then" keys
"Joined"
"<alias>": {
"type": "On Accomplice Joined",
"then": "<alias>"
}