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
Category: bots (17)
bot_skillCategories
Parameters
- skill (0-4): skill of bots from low (0) to high (4)
Info
Sets the skill level of all bots. This mainly affects reaction times and aiming speed.
Also bots with a skill <2 won't buy any armor (when using the default bot AI script).
Note: The Lua commands ai_findtarget and ai_aim are affected by this setting!
Lua Hooks
Lua Commands
Categories
Parameters
- skill (0-4): skill of bots from low (0) to high (4)
Info
Sets the skill level of all bots. This mainly affects reaction times and aiming speed.
Also bots with a skill <2 won't buy any armor (when using the default bot AI script).
Also bots with a skill <2 won't buy any armor (when using the default bot AI script).
Note: The Lua commands ai_findtarget and ai_aim are affected by this setting!