Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Lua Hook usebutton

Categories

Parameters

  • id: player id
  • x: button x (tiles)
  • y: button y (tiles)

Info

on using a button

Return Values

none - related action(s) [if there are any] performed by CS2D cannot be altered/omitted

Lua Command Lua Commands