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
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#5
RE: Light's wont deactivate

(07-06-2013, 03:18 AM)DeAngelo Wrote: 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"

Ahhh haha thankyou! And as for the section moving thankyou!!!

07-06-2013, 05:08 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: 2 Guest(s)