
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_goto
Categories
AI
Parameters
- id
- x
- y
- [walk] (optional)
Info
Bot with the given ID goes to tile (x|y). Set walk to 1 to let it walk (silent).
Returns 0 when failed to find path, 1 when target is reached or 2 when bot is still on its way.
Returns 0 when failed to find path, 1 when target is reached or 2 when bot is still on its way.






