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
Activate/deactivate lights
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Activate/deactivate lights

The function you're looking for:

SetLightVisible(string& asLightName, bool abVisible);

asLightName = name of the light
abVisible = whether or not its visible (true/false)

Example:


void function
{
SetLightVisible("spotlight_1", false);
}



Hope that helped

I rate it 3 memes.
(This post was last modified: 02-25-2013, 11:39 PM by Adny.)
02-25-2013, 11:39 PM
Find


Messages In This Thread
Activate/deactivate lights - by Magzard - 02-25-2013, 11:26 PM
RE: Activate/deactivate lights - by Adny - 02-25-2013, 11:39 PM
RE: Activate/deactivate lights - by Magzard - 02-26-2013, 04:13 PM
RE: Activate/deactivate lights - by tonitoni1998 - 02-26-2013, 05:19 PM



Users browsing this thread: 1 Guest(s)