e2 docs custom light - wiremod/wire GitHub Wiki
Custom/light
lightCreate(
Index)
(25 ops)
lightCreate(
Index,
Position)
(25 ops)
lightCreate(
Index,
Position,
Color)
(25 ops)
lightCreate(
Index,
Position,
Color,
Distance)
(25 ops)
lightCreate(
Index,
Position,
Color,
Distance,
Brightness)
(25 ops)
lightPos(
Index,
Position)
(10 ops)
= lightPos(
Index)
(5 ops)
lightColor(
Index,
Color)
(10 ops)
= lightColor(
Index)
(5 ops)
lightToggle(
Index,
Toggle)
(10 ops)
= lightToggle(
Index)
(2 ops)
lightDistance(
Index,
Distance)
(8 ops)
= lightDistance(
Index)
(2 ops)
lightBrightness(
Index,
Brightness)
(8 ops)
= lightBrightness(
Index)
(2 ops)
lightParent(
Index,
Parent)
(10 ops)
lightParent(
Index,
Parent)
(10 ops)
lightUnparent(
Index)
(10 ops)
lightRemove(
Index)
(15 ops)
lightRemoveAll()
(2 ops)
= lightEntity(
Index)
(2 ops)
= lightRemainingSpawns()
(2 ops)