Loner-StrikeReference

Reference

Timers

11 Game Mode Studio nodes. Pick one for its pins, settings and limits.

Delay

actiontimer.delay

Waits, then carries on. Paused with the world while debugging.

Inputs (2)
Run Flow
Runs this node.
Seconds Number
Seconds: a number. Leave it empty to use the setting.
Outputs (2)
Then Flow
Goes on when it's done.
Timer Timer
The timer.
Settings (1)
Seconds
A number from 0.1 to 3600. A wire into the pin of the same name is used instead. Default: 3.
Notes (1)

Waits, then goes on. Other things keep running while it waits. Running it again before it's done starts another wait.

Repeat

flowtimer.repeat

Runs Each every few seconds, a number of times (0: until the round ends). Then runs at once.

Inputs (2)
Run Flow
Runs this node.
Every (s) Number
Every (s): a number. Leave it empty to use the setting.
Outputs (3)
Then Flow
Goes on when it's done.
Each Flow
Runs every time the timer fires.
Timer Timer
The timer.
Settings (2)
Every (seconds)
A number from 0.1 to 3600. A wire into the pin of the same name is used instead. Default: 5.
Times (0 = until the round ends)
A number from 0 to 10000. Default: 0.
Notes (1)

Cost: A short interval with a lot after Tick is the most common way a mode gets heavy. Half a second or more is usually plenty.

Countdown

actiontimer.countdown

Counts down on everyone's screen, then runs Done.

Inputs (1)
Run Flow
Runs this node.
Outputs (3)
Then Flow
Goes on when it's done.
Done Flow
Runs when it's over.
Timer Timer
The timer.
Settings (3)
Seconds
A number from 1 to 600. Default: 10.
Text
Text: letters, digits, spaces and plain punctuation. Default: Starting in. Up to 60.
Where
Pick one: Top middle, Left, Right, Middle. Default: top.
Notes (1)

Shows a countdown in the HUD each second, then runs Done.

Stop Timers

actiontimer.stop_all

Stops every Delay, Repeat and Countdown of this mode.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.

Stop Timer

actiontimer.stop

Stops one Delay, Repeat or Countdown.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Timer
Picked from this mode's own pieces.

Retriggerable Delay

actiontimer.retrigger

Waits, then carries on; flow coming in again while waiting starts the wait again.

Inputs (2)
Run Flow
Runs this node.
Seconds Number
Seconds: a number. Leave it empty to use the setting.
Outputs (2)
Then Flow
Goes on when it's done.
Timer Timer
The timer.
Settings (1)
Seconds
A number from 0.1 to 3600. A wire into the pin of the same name is used instead. Default: 3.
Notes (1)

Like Delay, but running it again starts the wait over, so Then runs once things go quiet.

Set Timer by Function

actiontimer.by_function

Runs a Function (with its own graph) after some seconds, again and again if Looping. Its inputs get nothing (0, empty).

Inputs (2)
Run Flow
Runs this node.
Seconds Number
Seconds: a number. Leave it empty to use the setting.
Outputs (2)
Then Flow
Goes on when it's done.
Timer Timer
The timer.
Settings (3)
Function
Picked from this mode's own pieces.
Seconds
A number from 0.1 to 3600. A wire into the pin of the same name is used instead. Default: 5.
Looping
On or off. Default: true.

Set Timer by Event

actiontimer.by_event

Runs a Custom Event (with no inputs) after some seconds, again and again if Looping.

Inputs (2)
Run Flow
Runs this node.
Seconds Number
Seconds: a number. Leave it empty to use the setting.
Outputs (2)
Then Flow
Goes on when it's done.
Timer Timer
The timer.
Settings (3)
Custom event
Picked from this mode's own pieces.
Seconds
A number from 0.1 to 3600. A wire into the pin of the same name is used instead. Default: 5.
Looping
On or off. Default: true.

Timeline

actiontimeline.play

Plays a Timeline (My mode, Timelines): values that change over time (a number, a position, a color) and events at set moments. Update runs every tick while it plays; Finished at the end. In a Function with a Player input, each player has their own. Double-click to edit its tracks.

Inputs (7)
Play Flow
Runs this node.
Play from Start Flow
Runs Play from Start.
Stop Flow
Runs Stop.
Reverse Flow
Runs Reverse.
Reverse from End Flow
Runs Reverse from End.
Set New Time Flow
Runs Set New Time.
New Time Number
New Time: a number.
Outputs (4)
Update Flow
Runs on Update.
Finished Flow
Runs on Finished.
Forward Yes/No
Forward: yes or no.
Time Number
Time: a number.
Settings (1)
Timeline
Picked from this mode's own pieces.
Notes (2)

Each key says how the track goes to the next: Linear, Constant (a step), Ease In, Ease Out, Ease In-Out, or Custom, where you drag the key's tangent handles to shape the curve (Alt drags one side; Auto tangents puts them back). The plugin works the curves out with a few multiplications a tick, no tables.

Cost: A Timeline in a Function with a Player input runs once per player: up to 32 copies, each ticking 20 times a second at the default Tick.

Made from the app's own catalog (nodes.json, nodehelp.json, limits.ts), so it matches the app.