Frictional Games Forum (read-only)
Lamp-Lighting help - 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: Lamp-Lighting help (/thread-22548.html)



Lamp-Lighting help - iLucian - 08-22-2013

Hi, i need to know how to disable the ability to light a lamp in a room, so if u have a tinderbox, u cant light something. Any help would be appreciated. Thx!


RE: Lamp-Lighting help - Neelke - 08-22-2013

I find two ways that could be useful here.

Either you make you make a custom entity with candle, changing the user defined variables to anything except a lamp. Or you make a script with Item Interaction active and cover the candle with the script.

There are probably way easier methods but these are some I use sometimes and I'm quite new to scripting.


RE: Lamp-Lighting help - Your Computer - 08-22-2013

SetEntityInteractionDisabled


RE: Lamp-Lighting help - i3670 - 08-22-2013

I'll just borrow this thread instead of creating a new one.

Is it possible to connect multiple point/spotlights to a single lamp?


RE: Lamp-Lighting help - FlawlessHappiness - 08-23-2013

(08-22-2013, 10:48 PM)i3670 Wrote: I'll just borrow this thread instead of creating a new one.

Is it possible to connect multiple point/spotlights to a single lamp?

I don't think so. But you can create a script that does it... Well. Not that connects them, but sets them active