
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
Category: all (58)
move
Categories
Player
Parameters
- id: id of player who moved
- x: new x position of player (pixels)
- y: new y position of player (pixels)
- walk: walked? (0 run, 1 walk)
Info
on player movement
Return Values
none - related action(s) [if there are any] performed by CS2D cannot be altered/omitted






