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
Magzard Offline
Junior Member

Posts: 11
Threads: 4
Joined: Feb 2013
Reputation: 0
#3
RE: Activate/deactivate lights

(02-25-2013, 11:39 PM)Adny Wrote: 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

Thanks mate, i searched this one for hours without any outcome. Smile
02-26-2013, 04:13 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)