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
Deactivate light?
DeadlockLP Offline
Junior Member

Posts: 5
Threads: 3
Joined: Mar 2012
Reputation: 0
#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
Website Find
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#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
Adrianis Offline
Senior Member

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

SetLightVisible("BoxLight_1", false);

^ That's the one you want mate
05-06-2012, 08:07 PM
Find




Users browsing this thread: 1 Guest(s)