Command ReferenceYou 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!
Lua ReferenceLua scripting (server-sided) allows server hosters and mappers to modify the game and to add new elements.
Category: all (66)
- [secondary] (optional)
Bot with given ID performs a primitive attack. Set secondary to 1 to use the secondary weapon function (=attack2) instead of the primary function.