KatsBits Community

StyleNum == MAX_SWITCHED_LIGHTS

kat · 1 · 24237

0 Members and 1 Guest are viewing this topic.

Offline kat

  • Administrator
  • Hero Member
  • *
    • Posts: 3148
    • KatsBits
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.

Code: [Select]
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]