Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (370)

CS2D Command triggerposition

Categories

Parameters

  • x (0-X): x position (in tiles)
  • y (0-X): y position (in tiles)

Info

Triggers the entity at the given tile position (if there is any). The entity does not have to have a name for this.

Lua Hook Lua Hooks

Lua Command Lua Commands