Get Role Holder
Get Role Holder
Found
Vacant
- Group
- Clans & Roles
- In the node menu
- Clans & Roles › Get Role Holder
- Where it can be used
- Scheme graphs
- Also found as
- Get Clan Head
What it does
Section titled “What it does”Get Role Holder looks at the court of a clan and finds one actor. Store In keeps that actor, so later nodes can pick them by name. If the role has no holder, Vacant runs and the variable is emptied.
With no role chosen, it finds the clan’s head. It is also known as Get Clan Head.
Example
Section titled “Example”Get Role Holder
Who is Coin-Reeve of Target's clan → Reeve
Found
Vacant
When to use it
Section titled “When to use it”Use it when a scheme needs the person in a seat, such as the Coin-Reeve of a clan, before later nodes act on them.
Use Check Role instead when you only need a yes or no about one actor.
Good to know
Section titled “Good to know”- The clan’s head is the living holder of the highest court role. If several hold it, the oldest is found.
- A personal role finds the living member of the clan who has it. With several, the one with the highest court role, then the oldest.
- If Several Hold It picks one holder when a court role has several seats.
- An actor without a clan finds nobody, so Vacant runs. The flow stops only when the clan cannot be read at all.
- Vacant empties the variable, so it never names an actor found earlier.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Clan | Clan | ClanRef | "of:Conspirator" | The clan whose court is asked: the clan of an actor, a Clan variable or one clan of the database. |
| Role | RoleID | name of Role | none | The court role whose holder is found (If Several Hold It says which one when the role has several seats). "The clan's head" finds the living holder of the highest-ranking court role. A personal role finds the living member of the clan who has it (the one with the highest court role, then the oldest, when several have it).
|
| Store In | StoreIn | Store In (Actor) | not in the data | An Actor variable of this scheme that gets the actor, so later nodes can pick it by name. It holds one actor for the whole scheme: storing into it again replaces it, even from another branch. Vacant empties it.
|
| If Several Hold It | Which | ranking | "Oldest" | Shown if a Role is set Which holder is found when the role has several seats. |
Outputs
Section titled “Outputs”- Found
- Vacant
In a draft
Section titled “In a draft”"type""Get Role Holder"- Other
"type"names "Get Clan Head""set"keysClan,RoleID,StoreIn,Which"then"keys"Found","Vacant"
"<alias>": { "type": "Get Role Holder", "then": { "Found": "<alias>", "Vacant": "<alias>" }}