Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: bots (17)

CS2D Command bot_count

Categories

Parameters

  • count (0-32): number of bots which will join the server after starting

Info

Select how many bots will join the server after starting it. It does not have any effect when you execute it after starting. Use bot_jointeam to control which team(s) the bots will join. The value of bot_count will be ignored if you use auto fill (bot_autofill).

Note: bot_count is affected by bot_jointeam!

Note: bot_count is NOT affected by bot_keepfreeslots and blindly fills the server with bots until it is full or until the specified number of bots is reached!

Attention: bot_count will be ignored if bot_autofill is enabled!

Lua Hook Lua Hooks

Lua Command Lua Commands