Skip to content

Set Role

Group
Clans & Roles
In the node menu
Clans & Roles › Set Role
Where it can be used
Scheme graphs
Also found as
Dismiss from Role
Presets
  • Appoint to Court Role

Set Role gives an actor a role, or takes one away. A court role is a seat of the actor’s clan. A personal role belongs to the actor.

With no role chosen, the node dismisses: either from the court role or from the personal role, as you set it at Dismiss from. When a role is given and every seat is taken, If the seat is taken says who gives way.

A Set Role of the demo scheme Scheme 16: Season of War (Drafts/schemes/16-season-of-war.json). The Traitor of the scheme is dismissed from their court role; Out and Not Given both lead on to the same node.

Use it to appoint someone, to replace a holder or to dismiss one.

Use Hand Over Role instead when the holder steps down and their heir should take the role. Use Set Clan Law instead to change how many seats a clan has.

A preset, Appoint to Court Role, starts from this node. Dismiss from Role is another name for it with no role chosen.

  • An actor without a clan who gets a court role gets it without a seat.
  • A personal role is given as it is. It has no seats, so the setting for a taken seat does not matter for it.
  • Not Given runs when the role was not given: the role is unknown, every seat is taken and the holder stays, or the role has no seats in the actor’s clan. With nothing linked to it, the flow goes on through Out. A dismissal always goes through Out.
  • When every seat is taken, This holder leaves the seat is chosen and Holder names an actor who does not hold the seat, nothing changes and Not Given runs. When a seat is free, the actor takes it and nobody leaves. With no actor chosen at Holder, the flow stops.
  • Store Who Left In is emptied when nobody left.
  • The node does not check who sits afterwards. Game code that reacts to the vacancy may move the seat on. Read the seat again with Get Role Holder when the story depends on it.
LabelDraft keyTypeDefaultShown if, tooltip and notes
ActorActorActorRef"Conspirator"
RoleRoleIDname of RolenoneA court role is a seat of the actor's clan. A personal role belongs to the actor.
  • none: "Dismiss from role"
If the seat is takenIfTaken
  • KeepHolder (Nothing changes)
  • ReplaceHolder (A holder leaves the seat)
  • ReplaceThisHolder (This holder leaves the seat)
"KeepHolder"

Shown if a Role is set

When every seat of the court role is taken in the actor's clan: nothing changes, a holder leaves the seat (Who Leaves says which one) or the holder named below leaves it. Personal roles have no seats.
Dismiss fromFrom
  • Court (Court role)
  • Personal (Personal role)
"Court"

Shown if no Role is set

Court role: the actor leaves their seat and the seat is empty. Personal role: the actor loses their personal role.
Who LeavesLeavesranking"Youngest"

Shown if IfTaken = ReplaceHolder

Which holder leaves when every seat is taken. With more holders than seats, holders leave in this order until a seat is free.
HolderLeaverActorRef"Target"

Shown if IfTaken = ReplaceThisHolder

The holder who leaves the seat. When this actor does not hold the seat, nothing changes and Not Given runs.
Store Who Left InStoreLeaverInStore In (Actor)not in the data

Shown if IfTaken is ReplaceHolder or ReplaceThisHolder

A scheme Actor variable that gets the holder who left the seat (the first one when several leave). It is emptied when nobody left.
  • none: "Nowhere"
  1. Out
  2. Not Given
"type"
"Set Role"
Other "type" names
"Dismiss from Role"
Presets (also a "type")
  • "Appoint to Court Role": sets IfTaken=ReplaceHolder
"set" keys
Actor, RoleID, IfTaken, From, Leaves, Leaver, StoreLeaverIn
"then" keys
"Out", "Not Given"
"<alias>": {
"type": "Set Role",
"then": { "Out": "<alias>", "Not Given": "<alias>" }
}