Hello everybody ,does anyone know of a LUA script command which detects the day night cycle in the game.Basically to detect when the game switches on the lights at night and then switches them off again in the morning.This time seems to vary with different times of the year like in real life.I know there is this get time of day call
- Code: Select all
gTimeOfDay = SysCall("ScenarioManager:GetTimeOfDay");
which i have used to good effect but it would be nice if there was a Syscall just to detect when the lights go on and off.
Thanks for your help Newbouy