Loner-StrikeReference

Reference

Game

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

actionSet SettingChanges one of the game's settings now.actionUse EntityPresses (uses) every entity with this name: a door, a button, a trigger.valueCurrent Map NameThe map being played (de_dust2).valueNext MapThe map the server goes to next (from the map cycle or vote); empty if it doesn't know.valueServer NameThe server's name (hostname).valueMax PlayersHow many players the server takes.valuePlayer CountHow many players there are: everyone, people, bots, a team, or spectators.valueGame TimeSeconds since the map started (for timing things: keep it in a variable, compare later).valueReal Date and TimeThe server computer's date and time, as text (2026-11-13, 21:30, Friday) and as seconds since 1970.valueCurrent ModeThis mode's id (as the Game Mode Menu and modes.ini know it).valueRound NumberWhich round this is on this map (1 for the first).valueTeam ScoreA team's rounds won on this map (as the scoreboard shows).valueIs Freeze TimeIs it the freeze time at a round's start (nobody can move)?valueGet SettingReads a server setting (a cvar), as a number and as text: the counterpart of Set Setting.actionChange MapChanges the map (if the server has it).actionRestart RoundRestarts the round now (scores stay).actionRemove Map ObjectivesTakes the map's objectives away (tick which): buy zones, bomb sites, hostages, hostage rescue zones, VIP safety zones, escape zones.valueMap TypeWhat kind of map this is now: bomb (de_), hostage (cs_), VIP (as_), escape (es_) or other, from what it has in it; and each one as yes or no.actionVoice RulesWho hears whom on voice chat: everyone, only teammates, the dead only the dead and the living only the living, or only those within a distance (0: any distance, with the other rules).actionRound End RulesStops rounds ending by themselves: when a team is wiped out, when the time runs out, or either (End Round is then the only way a round ends).actionStart VoteAsks everyone (or a team, or the living) a question with 2 to 8 answers for some seconds; then runs the winning answer's output, Tie, or No votes.valueVote CountHow many votes an answer got in the last Start Vote (0: all the votes).

Set Setting

actiongame.set_cvar

Changes one of the game's settings now.

Inputs (2)
Run Flow
Runs this node.
Value Number
Value: a number. Leave it empty to use the setting.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Setting
Pick one: Free for all (1 on), Friendly fire (1 on), Gravity (800 normal), Buy time (minutes), Start money, Air control (10 normal), Round time (minutes, next round), Freeze time (seconds, next round), Rounds only end when the mode says (1 on), Team balance (1 on), Most players more than the other team (0 any), Bomb for the Terrorists (1 on)…. Default: mp_freeforall.
Value
A number from 0 to 100000. A wire into the pin of the same name is used instead. Default: 1.
Notes (2)

A setting changed for the rest of the map. For settings the mode always wants, add them under This mode's Game settings instead (set every map).

Careful: A few settings are set again by the game's own game.cfg after the mode's, so they don't stick: the bomb for the Terrorists (mp_give_player_c4) is one. Take the bomb with Remove Weapon (c4) at Round Started instead.

Use Entity

actionentity.use

Presses (uses) every entity with this name: a door, a button, a trigger.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Name
A name, as the map or the game knows it (letters, digits, _ . -). Default: door1.

Player Count

valuegame.player_count

How many players there are: everyone, people, bots, a team, or spectators.

Outputs (1)
Players Number
Players: a number.
Settings (1)
Who
Pick one: Everyone, People, Bots, Terrorists, Counter-Terrorists, Spectators, Alive. Default: all.

Real Date and Time

valuegame.clock

The server computer's date and time, as text (2026-11-13, 21:30, Friday) and as seconds since 1970.

Outputs (2)
Text Text
The text.
Seconds since 1970 Number
Seconds since 1970: a number.
Settings (1)
As
Pick one: Date and time, Date, Time, Day of the week, Hour (0-23). Default: datetime.

Team Score

valuegame.team_score

A team's rounds won on this map (as the scoreboard shows).

Outputs (1)
Score Number
Score: a number.
Settings (1)
Team
Pick one: Terrorists, Counter-Terrorists. Default: ct.

Get Setting

valuegame.get_setting

Reads a server setting (a cvar), as a number and as text: the counterpart of Set Setting. Passwords and the like can't be read.

Outputs (2)
Number Number
The number.
Text Text
The text.
Settings (1)
Setting (cvar)
A name, as the map or the game knows it (letters, digits, _ . -). Default: mp_roundtime.

Change Map

actiongame.change_map

Changes the map (if the server has it). The mode changes too only if the next map's preset says so. Asks first when an agent does it.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Map
A name, as the map or the game knows it (letters, digits, _ . -). Default: de_dust2.
Notes (1)

Careful: Ends the game on this map for everyone. Only maps the server has are allowed.

Restart Round

actiongame.restart_round

Restarts the round now (scores stay).

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

Careful: Restarts the round for everyone, like sv_restartround.

Remove Map Objectives

actiongame.remove_objectives

Takes the map's objectives away (tick which): buy zones, bomb sites, hostages, hostage rescue zones, VIP safety zones, escape zones. The game notices at the next round (the bomb isn't given, no hostages to save); removed buy zones don't fall back to buying at spawn. Best at Map Started.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (6)
Buy zones
On or off. Default: false.
Bomb sites
On or off. Default: true.
Hostages
On or off. Default: true.
Rescue zones
On or off. Default: true.
VIP safety zones
On or off. Default: true.
Escape zones
On or off. Default: true.

Map Type

valuegame.map_type

What kind of map this is now: bomb (de_), hostage (cs_), VIP (as_), escape (es_) or other, from what it has in it; and each one as yes or no.

Outputs (5)
Type Text
Type: text.
Has bomb sites Yes/No
Has bomb sites: yes or no.
Has hostages Yes/No
Has hostages: yes or no.
Has VIP zone Yes/No
Has VIP zone: yes or no.
Has escape zone Yes/No
Has escape zone: yes or no.

Voice Rules

actiongame.voice_rules

Who hears whom on voice chat: everyone, only teammates, the dead only the dead and the living only the living, or only those within a distance (0: any distance, with the other rules). Spectators hear spectators. Voice Override changes it for one player; Mute Voice still mutes.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (2)
Who hears
Pick one: Everyone hears everyone, Teammates only, Dead with dead, alive with alive, Teammates, and dead with dead, Only within the distance. Default: team.
Within (units, 0: any)
A number from 0 to 8192. Default: 0.

Round End Rules

actiongame.round_end_rules

Stops rounds ending by themselves: when a team is wiped out, when the time runs out, or either (End Round is then the only way a round ends). Ending as usual undoes it; a new mode starts as usual.

Inputs (1)
Run Flow
Runs this node.
Outputs (1)
Then Flow
Goes on when it's done.
Settings (1)
Rounds don't end when
Pick one: (Ending as usual), A team is wiped out, Time runs out, Either (only End Round ends them). Default: elim.

Start Vote

actiongame.start_vote

Asks everyone (or a team, or the living) a question with 2 to 8 answers for some seconds; then runs the winning answer's output, Tie, or No votes. Bots vote at random if Bots vote is on. Only one vote at a time, and never over the server's map or mode vote (then No votes runs). Vote Count reads the result.

Inputs (1)
Run Flow
Runs this node.
Outputs (11)
Then Flow
Goes on when it's done.
1 Flow
Runs on 1.
2 Flow
Runs on 2.
3 Flow
Runs on 3.
4 Flow
Runs on 4.
5 Flow
Runs on 5.
6 Flow
Runs on 6.
7 Flow
Runs on 7.
8 Flow
Runs on 8.
Tie Flow
Runs on Tie.
No votes Flow
Runs when nothing was found.
Settings (13)
Question
Text: letters, digits, spaces and plain punctuation. Default: Next round?. Up to 60.
Answers#
A number from 2 to 8. Default: 2.
Answer 1
Text: letters, digits, spaces and plain punctuation. Default: Knives. Up to 30.
Answer 2
Text: letters, digits, spaces and plain punctuation. Default: Pistols. Up to 30.
Answer 3
Text: letters, digits, spaces and plain punctuation. Default: Rifles. Up to 30.
Answer 4
Text: letters, digits, spaces and plain punctuation. Default: Snipers. Up to 30.
Answer 5
Text: letters, digits, spaces and plain punctuation. Default: Shotguns. Up to 30.
Answer 6
Text: letters, digits, spaces and plain punctuation. Default: Grenades. Up to 30.
Answer 7
Text: letters, digits, spaces and plain punctuation. Default: Random. Up to 30.
Answer 8
Text: letters, digits, spaces and plain punctuation. Default: Normal. Up to 30.
Seconds
A number from 5 to 60. Default: 15.
Who votes
Pick one: Everyone, Terrorists, Counter-Terrorists, The living. Default: all.
Bots vote
On or off. Default: false.

Vote Count

valuegame.vote_count

How many votes an answer got in the last Start Vote (0: all the votes).

Inputs (1)
Answer Number
Answer: a number. Leave it empty to use the setting.
Outputs (1)
Votes Number
Votes: a number.
Settings (1)
Answer (0: all)
A number from 0 to 8. A wire into the pin of the same name is used instead. Default: 1.

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