Wait For Clan Change
Wait For Clan Change
Happened
Timed Out
- Group
- Events
- In the node menu
- Events › Wait For Clan Change
- Where it can be used
- Scheme graphs
What it does
Section titled “What it does”A Wait For Clan Change node holds the flow until a clan changes in one of the ways you tick in What: founded, disbanded, died out, merged, standing under another clan or alone, a new head, a member joining, or a member leaving. Then it continues through Happened.
You can watch one clan, or any clan. The clan that changed, and the actor involved, can be stored in variables.
Example
Section titled “Example”Wait For Clan Change
Waits until Conspirator's Clan changes: a new head
→ NewHead
Happened
Timed Out
When to use it
Section titled “When to use it”Use it when the story hangs on the fate of a clan, such as waiting for a new head. Add a Timeout to give up after a while and continue through Timed Out.
Use Wait Until instead when you wait for a state to be true, not for an event to happen.
Good to know
Section titled “Good to know”- The first of the ticked changes to happen continues the flow. The node does not say which one it was.
- A disbanded clan also stands alone, so Stands Under Changed comes first. A merge counts as Merged, not Disbanded.
- A change before the node starts waiting is not received. Neither is one while the game is saved and loaded.
- While the scheme is paused, only the first change is kept and handled at the resume.
- Head Changed compares the head with the one the clan had when the node started waiting, or at the last change.
- With no change ticked, the card shows an error. With Timeout at 0 and Timed Out linked, the card warns that Timed Out never runs.
- Stop Wait can stop it. With Let It Go On, it continues through Happened and stores nothing.
- When the clan is not available, the flow stops here.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Any Clan | AnyClan | bool | false | A change of any clan counts. Off: only a change of the clan in Clan. |
| Clan | Clan | ClanRef | "of:Conspirator" | Shown if AnyClan is false The clan that is watched, read when the node starts waiting. When it is not available the flow stops here. |
| What | What |
| [] | The changes that count. The first one to happen continues the flow (the node does not say which). A disband also makes the clan stand alone (Stands Under Changed comes first). A merge is Merged, not Disbanded. |
| Store Clan In | StoreClanIn | Store In (Clan) | not in the data | A Clan variable of this scheme that gets the clan that changed (merged: the clan merged away).
|
| Store Actor In | StoreActorIn | Store In (Actor) | not in the data | An Actor variable of this scheme that gets the member who joined or left, or the new head (emptied when the clan lost its head or the change has no actor).
|
| Timeout | Timeout | number | 0 | Seconds of game time (paused with the scheme) before Timed Out runs. 0 waits without a time limit.
|
Outputs
Section titled “Outputs”- Happened
- Timed Out
In a draft
Section titled “In a draft”"type""Wait For Clan Change""set"keysAnyClan,Clan,What,StoreClanIn,StoreActorIn,Timeout"then"keys"Happened","Timed Out"
"<alias>": { "type": "Wait For Clan Change", "then": { "Happened": "<alias>", "Timed Out": "<alias>" }}