Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- Console Commands are entered in console, executed with key-binds, cfg-files or with Lua parse
- Lua Hooks execute Lua when events occur - some have a return value which can change the game behavior
- Lua Commands are used to retrieve game data or to perform actions in Lua scripts
CS2D Console Commands
bot_jointeamCategories
Parameters
- team (0-2): 0 both, 1 T, 2 CT
Info
Select which teams bots will join. This setting is only used if bot_count is set to a value > 0 or if bot_autofill is 1.
Possible settings:
- 0 - bots will join both teams
- 1 - bots will only join the terrorist forces only
- 2 - bots will only join the counter-terrorist forces only
Note: This setting only affects bots which are joining automatically (either by bot_count or by bot_autofill). You can manually add bots to all teams anyway.
Lua Hooks
Lua Commands
Categories
Parameters
- team (0-2): 0 both, 1 T, 2 CT
Info
Select which teams bots will join. This setting is only used if bot_count is set to a value > 0 or if bot_autofill is 1.
Possible settings:
Possible settings:
- 0 - bots will join both teams
- 1 - bots will only join the terrorist forces only
- 2 - bots will only join the counter-terrorist forces only
Note: This setting only affects bots which are joining automatically (either by bot_count or by bot_autofill). You can manually add bots to all teams anyway.