MPankey Posted June 24, 2016 Share Posted June 24, 2016 i'm trying to have a light turn on and off depending on the time of day to look like the sun shining through the ceiling of a cave. I already set the sky to be the exteriors sky but if i add sky lighting the entire cave inherits the light instead of just what is below the hole. Link to comment Share on other sites More sharing options...
timtimman Posted June 25, 2016 Share Posted June 25, 2016 (edited) From what I've gathered the SetAnimationVariableFloat seems to set the lights on/off and their respective attributes of a Light property, set using PlaceAtMe. I've found "flightintensity" (which probably is brightness), "fLightColor", "fDampRate" (maybe for fading?), "fToggleBlend" (either 1.0 or 0.0).As in the context: SetAnimationVariableFloat("flightintensity", 0.0) As for getting it to light up during the day you can use GetCurrentGameTime and have it change brightness and color to mach day and night. As you already know I don't have the CK to play with so this is hopefully the nudge you need to get it to work yourself. Good luck! Edited June 25, 2016 by timtimman Link to comment Share on other sites More sharing options...
Recommended Posts