BNSFdude wrote:TOD in the game is counted in seconds from midnight, so I'd assume you'd have to have the script do the maths on converting it to the HHMMSS format you need for it to call the proper nodes.
Yes, something like that, I'm just a noob in lua scripting and I can't really figure out how to complete the code in order for it to convert the TOD to HHMMSS format. I know it has something to do with "math.floor" and in the end i have to call those nodes into my control values:
Call( "*:SetControlValue", "ClockHourUnits", 0)
Call( "*:SetControlValue", "ClockHourTens", 0)
Call( "*:SetControlValue", "ClockMinuteUnits", 0)
Call( "*:SetControlValue", "ClockMinuteTens", 0)
Any further help would be appreciated