SpawnPoint

From Source Entities
Jump to navigation Jump to search

SpawnPoint is a base class for CS:GO's spawn point entities.

Tip: A typical CSGO server can have up to 32 players in it at once, so a typical map should have at least 16 spawns for each team.

Keyvalues[edit | edit source]

Spawn Priority (int) (priority) <integer>
Determines which spawn points get used first. Smaller numbers are used before larger numbers. Useful for keeping timings consistent concerning when enemy players first see one another. Inconsistent spawn locations can affect where terrorists decide to push, and the counter-terrorists' ability to defend a location, both of which are generally frowned upon. No effect in deathmatch.
Enabled by default? (enabled) <boolean>
Self-explanatory.

Inputs[edit | edit source]

SetEnabled
Sets this spawn point as enabled.
SetDisabled
Sets this spawn point as disabled.
ToggleEnabled
If on, turn off. If off, turn on.