StyleNum == MAX_SWITCHED_LIGHTS

Started by kat, June 26, 2015, 02:58:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kat

Problem
I've placed some lights with targets (I don't know exactly if it causes the problem or not). Then when I complied I got this error.

StyleNum == MAX_SWITCHED_LIGHTS

What does this mean? [3tehakanyuksel]

Solution
This occurs with targeted lights. It's a Quake/Quake 2 vestige where targetnames were indexed for lightstyles. Since Quake 3 has no lightstyles (no flickering lights), you can't target light entities. [ydnar]