Game Editing > Q3Map / Q3Map2 Compile Errors

StyleNum == MAX_SWITCHED_LIGHTS

(1/1)

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.


--- Code: ---StyleNum == MAX_SWITCHED_LIGHTS
--- End code ---

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]

Navigation

[0] Message Index

Go to full version