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
Lamp-Lighting help
iLucian Offline
Junior Member

Posts: 22
Threads: 8
Joined: Jun 2013
Reputation: 0
#1
Lamp-Lighting help

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!

Wherever there is Light, Darkness has already gotten there first.
08-22-2013, 07:58 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#2
RE: Lamp-Lighting help

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.
08-22-2013, 08:57 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: Lamp-Lighting help

SetEntityInteractionDisabled

Tutorials: From Noob to Pro
08-22-2013, 10:23 PM
Website Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#4
RE: Lamp-Lighting help

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

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

"What you think is irrelevant" - A character of our time

A Christmas Hunt
08-22-2013, 10:48 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Lamp-Lighting help

(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

Trying is the first step to success.
08-23-2013, 05:45 AM
Find




Users browsing this thread: 4 Guest(s)