Loner-StrikeReference

Reference

Variables

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

Get Variable

valuevar.get

Reads one of this mode's variables (a per-player one needs a Player, a per-team one a Team).

Inputs (2)
Player Player
The player. Optional.
Team Team
The team. Optional.
Outputs (1)
Value Variable
Value: the variable's type.
Settings (1)
Variable
Picked from this mode's own pieces.

Set Variable

actionvar.set

Sets one of this mode's variables.

Inputs (4)
Run Flow
Runs this node.
Player Player
The player. Optional.
Team Team
The team. Optional.
Value Variable
Value: the variable's type. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Variable
Picked from this mode's own pieces.
Value
Picked from this mode's own pieces. A wire into the pin of the same name is used instead.
Notes (1)

Sets a variable. A per-player variable needs a Player wired in, a per-team one a Team.

Add To Variable

actionvar.add

Adds to a number variable (a negative amount takes away).

Inputs (4)
Run Flow
Runs this node.
Player Player
The player. Optional.
Team Team
The team. Optional.
Amount Number
Amount: a number. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Variable
Picked from this mode's own pieces.
Amount
A number from -100000 to 100000. A wire into the pin of the same name is used instead. Default: 1.

Toggle Variable

actionvar.toggle

Flips a yes/no variable (yes becomes no, no becomes yes); New Value is what it is now. A per-player one needs a Player, a per-team one a Team.

Inputs (3)
Run Flow
Runs this node.
Player Player
The player. Optional.
Team Team
The team. Optional.
Outputs (2)
Then Flow
Goes on when it's done.
New value Yes/No
New value: yes or no.
Settings (1)
Variable
Picked from this mode's own pieces.

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