Function levellightcount
#include <macawlevel.h>int levellightcount(int level);
Tells you how many lamps and area lights a level has.
Parameters
levelint- The level.
Returns int
How many lights there are.
In What's in a level, with levelstart, levellight, levelwatercount, levelwater, levelprobecount, levelprobe.