
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_attack
Categories
AI
Parameters
- id
- [secondary] (optional)
Info
Bot with given ID performs a primitive attack. Set secondary to 1 to use the secondary weapon function (=attack2) instead of the primary function.






