A list of all Actions, Conditions and Expressions supported in this addon.
Turn manager
-
Actions
Add player {0} at index {1}
Add a player at a valid zero-based index, or append when the index is -1 or invalid.
Insert player {1} at {0}
Insert a player seat at a zero-based index.
Remove player at {0}
Remove a seat by zero-based index.
Clear all players
Remove every player seat.
Move player from {0} to {1}
Move a seat to another zero-based index.
Swap players {0} and {1}
Swap two seats.
Reverse player order
Reverse the seat order.
Enable player at {0}
Allow a player seat to receive turns.
Disable player at {0}
Prevent a player seat from receiving automatic turns.
Skip next turn for player at {0}
Skip this enabled seat once during forward turn advancement.
Clear skip for player at {0}
Remove a pending one-time skip.
Start turns
Select the first enabled player and begin round 1.
Set max rounds to {0}
Set the round limit. Use 0 for no limit.
Stop turns
Clear the current player and round.
Set current player by index {0}
Select an enabled player by zero-based index.
Set current player by ID {0}
Select the first enabled player with this text ID.
Next turn
Advance to the next enabled player.
Previous turn
Move to the previous enabled player.
Skip current turn
Advance from the current player without disabling them.
Save state
Save an in-memory checkpoint of this turn manager.
Load state
Restore the most recently saved checkpoint of this turn manager.
Initialize game with {0} players, prefix {1}
Clear and reset the manager, then add numbered player IDs.
-
Conditions
On player added
Triggered after a player seat is added.
On player removed
Triggered after a player seat is removed.
On manager cleared
Triggered after all player seats are cleared.
On player enabled
Triggered after a player seat is enabled.
On player disabled
Triggered after a player seat is disabled.
On player skip set
Triggered after a one-time skip is set.
On player skip cleared
Triggered after a one-time skip is cleared.
On player skip consumed
Triggered when advancing consumes a one-time skip.
On order changed
Triggered after seats are moved, swapped, or reversed.
On turns started
Triggered when the manager begins turns.
On turns stopped
Triggered when the manager stops turns.
On turn skipped
Triggered by Skip current turn.
On round started
Triggered at round 1 and on forward wrapping.
On max rounds reached
Triggered when the current round reaches the configured maximum.
On turn changed
Triggered after selecting a different current player.
Turns are started
True when a current player is selected.
Has players
True when at least one player seat exists.
Has eligible players
True when at least one player seat is enabled.
Player at {0} is current
True when an index is the current seat.
Player at {0} is enabled
True when a seat is enabled.
Player at {0} has skip pending
True when a seat will be skipped once during forward advancement.
-
Expressions
PlayerCount
Return the number of player seats.
EnabledPlayerCount
Return the number of enabled player seats.
CurrentIndex
Return the current zero-based index, or -1.
CurrentPlayerId
Return the current player ID, or an empty string.
Round
Return the current round number.
PlayerIdAt
Return the player ID at an index, or an empty string.
PlayerEnabledAt
Return 1 when the player at an index is enabled, otherwise 0.
PlayerSkipPendingAt
Return 1 when the player at an index has a pending skip, otherwise 0.
LastChangedPlayerId
Return the player ID from the most recent player mutation.
LastChangedIndex
Return the index from the most recent player mutation.
DisabledPlayerList
Return a JSON array of disabled player IDs in turn order.
TurnOrderList
Return a JSON array of all player IDs in current turn order.
IsActive
Return 1 while turns are active, otherwise 0.