Script: Activate pointlight when lit torches - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Script: Activate pointlight when lit torches (/thread-22729.html) |
Script: Activate pointlight when lit torches - gruzz - 09-05-2013 Hello. I wonder if some nice man or woman can make me a, probably, simple script. It was long time since i worked with coding and the Level Editor, so i kind of need to start over :/ The script: I have POINTLIGHTS with all the torches to make it a little lighter in the corridors, however, the torches are supposed to be "turned off" when the player goes in the corridor.. I simply want the PointLight to get active as i fire up the torch. Thanks for all the help! RE: Script: Activate pointlight when lit torches - i3670 - 09-05-2013 Connect the pointlight to the torch. There's a bar under one of the tabs if you click the torch. I believe it's called ConnectLight or something along that line. Simply put the name of the pointlight in there. RE: Script: Activate pointlight when lit torches - gruzz - 09-05-2013 (09-05-2013, 07:34 PM)i3670 Wrote: Connect the pointlight to the torch. There's a bar under one of the tabs if you click the torch. I believe it's called ConnectLight or something along that line. Simply put the name of the pointlight in there. Inactivated the PointLight for it to get activated when i lit the torch, but it still lights up the area :O RE: Script: Activate pointlight when lit torches - i3670 - 09-05-2013 Set the color to black on the pointlights. 0, 0, 0, 0. |