(01-01-2012, 01:49 AM)eagledude4 Wrote: Not exactly, I have a one point light for every candle. So lighting candlestick_wall_1 will only trigger light_1.
Flickering lights would make it look more realistic, but I'm not gonna bother with that until I get a little more advanced with scripting.
Also, I'm having a glitch where a point light is set to inactive, but is visible when testing the map.
Then why don't you just write
light_1 in
ConnectedLight in entity properties in level editor? No need to script anything.
http://wiki.frictionalgames.com/hpl2/tut...ent_lights
You cant set light unactive in level editor. You have to script
SetLightVisible