Game Modding | Call of Duty: Black Ops 3 | Scripting
Bowser32:
I'm trying to turn lights on and off by changing between lightingstate1 and lightingstate2 with SetLightingState()
I'm running this exactly =
SetLightingState(2);
ls = player GetLightingState();
IPrintLnBold(ls);
output > 2
But the light which is set to only be on lightingstate1 doesn't turn off.
Edit: So while looking at radiant I noticed my ability to switch between states was locked (weird), after an hour of searching I found that my skybox only has an ssi set for state1, I set it's ssi for state2 and bing badda boom it works. Why the ssi isn't set for each state by default is idiotic, radiant pisses me off more each day