
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Lua Reference
Lua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.
Lua Hooks
Lua Commands
Category: all (66)
ai_build
Categories
AI
Parameters
- id
- building
- x
- y
Info
Bot with given ID tries to build a building at tile position (x|y). Building has to be a building integer id, not a string. The position has to be a free tile next to the current position of the bot.
Buildings (Class 1 only!):

Buildings (Class 1 only!):







