Events nodes
Events nodes start a flow when something happens, hold a flow until it happens, or announce it. On Game Loaded, On Date, On Accomplice Joined, On Accomplice Left and When a Requirement Breaks have no input: they run by themselves when their moment comes. On Key Press, Wait For Clan Change and Wait For Trigger hold the flow that reaches them. Fire Trigger and Send Signal announce something: a trigger for Wait For Trigger nodes, a signal for Signal Receiver components and your code.
The nodes
Section titled “The nodes”This group has 10 nodes.
| Node | What it does |
|---|---|
| On Game Loaded | Runs after a saved game is loaded, for schemes that were running when it was saved. |
| On Key Press | Waits until the player of an actor on this machine presses or releases a key. When nobody plays that actor here, it continues through Not Player at once. |
| On Accomplice Joined | Runs when an actor becomes an accomplice of this scheme while it runs. The new accomplice is put into Store In. |
| On Accomplice Left | Runs when an accomplice leaves this scheme: Died when they died, Left when they were taken out. The accomplice is put into Store In. |
| When a Requirement Breaks | Runs when one of the scheme's requirements stops being met. |
| Wait For Clan Change | Waits until something happens to a clan. |
| Wait For Trigger | Waits for a named trigger and continues through True or False, the value it was fired with; Timed Out runs when it takes too long. |
| Fire Trigger | Fires a named trigger with True or False, for this scheme or on one actor; Wait For Trigger nodes react to it. |
| Send Signal | Sends a Signal asset; Signal Receiver components and code listening for it react. |
| On Date | Runs when a new month, season or year of the calendar begins while the scheme runs. |
See also
Section titled “See also”- All nodes: how a node page is laid out, and every group.
- Signals says how a signal reaches components and code.
- Yearly events shows On Date at work.
- After a load shows On Game Loaded.