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
Level Editor Help Setting up red lights
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Setting up red lights

The FadeLightTo function:

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



asLightName = name of the light in the editor
afR/G/B/A = number value for red, green, blue & alpha (same as in the level editor, don't exceed "1.0f")
afRadius = The radius (if you want to keep it the same, make sure it's the same value as in the editor)
afTime = the time in seconds for the change to occur.

Hope that helped.

I rate it 3 memes.
09-14-2012, 11:34 PM
Find


Messages In This Thread
Setting up red lights - by The chaser - 09-14-2012, 11:10 PM
RE: Setting up red lights - by Adny - 09-14-2012, 11:34 PM



Users browsing this thread: 1 Guest(s)