Whicker -> time of day - like dusk,dawn,day,night with lua (10/23/2019 2:29:28 AM)
|
is it possible to get the time of day with Lua? I haven't seen anything so I assume not. It would have to be relative to a unit or location as obviously it changes, but if I could get the time of day then I could use lua to make a penalty for flying at night. Maybe something else but primarily I am trying to come up with an easy way to penalize a player for flying at night. Other than figuring out roughly what time it is that it gets dark and using that - as that varies by timezone/location too much.
|
|
|
|