max_lights

Maxium number of dynamic lights that can be visible at the same time.

Range:

2 .. 8 A6
2 .. unlimited (default: 100) A7  C 

Type:

var

Remarks:

Example:

void main()
{
  max_lights = 20;
  level_load("dungeon.wmb");
  ...

See also:

lightrange, sun_light, light_view, d3d_lightres

► latest version online