ScriptEvent:setLightsEnabled

From Mod Wiki
Revision as of 17:59, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer group -- Index of the group to change.
boolean state -- Whether the lights should be on or off.

Result

None.

Supported By

sdTransport

Comments

  • If the group index is -1, this will apply to all lights.

Functionality

Turns the specified light group on or off.