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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deactivate light?
Author Message
DeadlockLP Offline
Junior Member

Posts: 5
Joined: Mar 2012
Reputation: 0
Post: #1
Deactivate light?

Hey,

Why do this:
SetEntityActive("BoxLight_1",false);
not work?
I want to deactivate a Boxlight.
05-06-2012 12:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Xanthos Offline
Senior Member

Posts: 318
Joined: Mar 2012
Reputation: 8
Post: #2
RE: Deactivate light?

You can't do that with lights.
You have to find a "FadeLightTo" Function.

(I will update post when I find that)

05-06-2012 12:40 PM
Find all posts by this user Quote this message in a reply
Adrianis Offline
Senior Member

Posts: 620
Joined: Feb 2012
Reputation: 27
Post: #3
RE: Deactivate light?

SetLightVisible("BoxLight_1", false);

^ That's the one you want mate
05-06-2012 08:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)