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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripts For Deactivating Point Lights?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Scripts For Deactivating Point Lights?

(05-04-2013, 01:55 PM)JustAnotherPlayer Wrote: You CANNOT turn off pointlights nor any lights. How you do this is to set he light's colour to black and connect it to the light.

I beg to differ...

PHP Code: (Select All)
SetLightVisible("<pointlight>"false); 

Put that in your CollideCallback which has your ScriptArea in it.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-04-2013, 01:59 PM
Find


Messages In This Thread
RE: Scripts For Deactivating Point Lights? - by Romulator - 05-04-2013, 01:59 PM



Users browsing this thread: 2 Guest(s)