Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved - Please remove
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#10
RE: Changing a lamp entity's radius

(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

01-01-2012, 02:20 AM
Find


Messages In This Thread
Solved - Please remove - by eagledude4 - 12-31-2011, 10:56 PM
RE: Changing a lamp entity's radius - by Statyk - 12-31-2011, 11:02 PM
RE: Changing a lamp entity's radius - by Khyrpa - 01-01-2012, 01:17 AM
RE: Changing a lamp entity's radius - by flamez3 - 01-01-2012, 02:03 AM
RE: Changing a lamp entity's radius - by Khyrpa - 01-01-2012, 02:20 AM
RE: Changing a lamp entity's radius - by Khyrpa - 01-01-2012, 03:47 AM



Users browsing this thread: 1 Guest(s)