So I followed a couple of tutorials on making the lighting states change when the power is off / on.
In radiant I have it set so when it's in light state 1 it is night time and lights are switched on, then when it's light state two it is day time and the lights go off but for some reason my map starts up in daytime with the lights off.
Here is my code:
Code Snippet
Plaintext
//Lighting State Change When Power is On thread init_power();
function init_power() { level flag::wait_till("power_on"); level util::set_lighting_state(3); }
I was told in tutorials to use lighting state 3 as the game recognises it as lighting state 2
So I followed a couple of tutorials on making the lighting states change when the power is off / on.
In radiant I have it set so when it's in light state 1 it is night time and lights are switched on, then when it's light state two it is day time and the lights go off but for some reason my map starts up in daytime with the lights off.
Here is my code:
Code Snippet
Plaintext
//Lighting State Change When Power is On thread init_power();
function init_power() { level flag::wait_till("power_on"); level util::set_lighting_state(3); }
I was told in tutorials to use lighting state 3 as the game recognises it as lighting state 2
It would seem like once the power is turned on it sets it to state 2, therefore you would need the lights to be on in state 2 and off in state 1.