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

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command bot_freeze



  • freeze bots (0/1): freeze bots (1) or not (0)


This setting allows you to freeze/unfreeze bots. When it is set to 1, all bots will be frozen. This means that the AI Lua functions will not be invoked anymore. This will result in bots which do not move anymore.

Note: CS2D can set bot_freeze to 1 automatically if a Lua error occurs during AI script execution. This functionality has been added to prevent that errors in the AI script spam the console.

Lua Hook Lua Hooks

Lua Command Lua Commands