This is just a shot in the dark
;D ;D
Lol, I didn't even realize I said that, please forgive me ;D
Ok, this would turn them back on I guess but how do I run this and at what point in the mission.
Just run the script from the beginning. When the mission is reloaded or restarted the time varibale is set to 0. The script recognizes this and, when the mission is reloaded, it automatically turns the lights back on. Then the script starts itself over so if the mission is reloaded again, it turns the lights back on again.
Do you know about exit.sqs?
I read it works like init.sqs but is activated at end of mission...
No, I don't know much about it. But I think the reason it isn't working for you is when the mission is reloaded, it isn't considered the end of the mission. Then end of the mission comes when an end trigger fires.
Does it work in MP?
I have no clue, I'm in the dark when it comes to mp scripting (I'm sorry, I couldn't resist ;D)
-Student Pilot