Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command trigger

Categories

Parameters

  • trigger (text): names of entities you want to trigger

Info

Trigger entities (as server only).

Example:
trigger "test" (triggers all entities with the name test)
trigger "a,b,c" (triggers all entities with the names a, b and c)

Lua Hook Lua Hooks

Lua Command Lua Commands