Skip to content

Light commands

Kaspars Jaudzems edited this page Dec 7, 2022 · 2 revisions

Overview

Reference

Light set

/light

Arguments:

  • light (int|string) light id
  • x (float)
  • y (float)
  • z (float)

Examples:

~visuals.sendMsg('/light', 0, 500, 0, 500); // create a light at (500, 0, 500)

Light remove

/light/remove

Arguments:

  • light (int|string) light id

Examples:

~visuals.sendMsg('/light/remove', 0); // remove light 0