num_lights
Number of active dynamic lights; also indicated in the 'count' column
of the Statistics Panel.
This number is increased when an entity begins to emit light through a
lightrange;
it is decreased when the lightrange is reset to zero or the entity is
removed.
Range:
0 .. max_lights
Type:
var, read-onlyExample:
PANEL lights_indicator =
{
digits(0, 0, 5, digit_font, 1,num_lights); // show amount of particle
flags = VISIBLE;
}
See also:
num_visents,
max_lights, lighting