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
Light's wont deactivate
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#4
RE: Light's wont deactivate

I have this same problem in my editor, and "SetLightVisable" doesn't do anything either. However I've had some success with
Spoiler below!

FadeLightTo(string& asLightName, float afR, float afG, float afB, float afA, float afRadius, float afTime);



Changes the properties of a light.




asLightName - internal name


afR - red value


afG - green value


afB - blue value


afA - alpha value


afRadius - radius of the light. -1 means keeping the radius


afTime - time in seconds until change is done
Just set all the colors to 0, then run the script again and set them to what you want when you want the light "on"

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
07-06-2013, 03:18 AM
Find


Messages In This Thread
Light's wont deactivate - by 7heDubz - 07-04-2013, 03:16 PM
RE: Light's wont deactivate - by PutraenusAlivius - 07-04-2013, 03:19 PM
RE: Light's wont deactivate - by Traggey - 07-04-2013, 03:41 PM
RE: Light's wont deactivate - by DeAngelo - 07-06-2013, 03:18 AM
RE: Light's wont deactivate - by 7heDubz - 07-06-2013, 05:08 AM



Users browsing this thread: 1 Guest(s)