Page 1 of 1
How to change date/time in Lua console?
Posted: Mon Nov 13, 2017 9:04 am
by JonBea
If it's possible. So far I've only managed to retrieve the current time with ScenEdit_CurrentTime.
RE: How to change date/time in Lua console?
Posted: Thu Nov 16, 2017 10:56 am
by mikmykWS
Not sure there is a lua setter function for that?
Are you looking to do it in lua specifically or do you just want to change the time and date? If its the latter you can do it in Editor mode by selecting Scenario Times and Duration under the Editor drop down.
Mike
RE: How to change date/time in Lua console?
Posted: Fri Nov 17, 2017 8:08 am
by JonBea
Lua specifically, it's something I wanted to be able to do from a script. But yeah, I haven't been able to find a function for it. I guess I'll put in a request with the development team or something.