Is there a way to tell the time in ToEE inside a script? As you might guess, this is to circumvent the timevent_add issue.
The answer is yes. I am working on a system to replace, or at least supplement, the timevents. The reason I am not sharing this knowledge just yet is because I want to have a standardized system for using it in place before a bunch of modders start adding their own little versions here and there. It's better if we have one standardized system, with one event_queue, for all of us to use.
Well, I can understand that. I'd probably be loathe to replace the timing system in my mods if I finally got one working right by myself I'm just curious, though, are you also using global time for this?
Came across these in the string dump while looking for something else: 102A51D4: 'time_game_in_years',0 102A51E8: 'time_game_in_days',0 102A51FC: 'time_game_in_months',0 102A5210: 'time_game_in_minutes',0 102A5228: 'time_game_in_hours2',0 102A523C: 'time_game_in_hours',0 102A5250: 'time_game_in_seconds_float',0 102A526C: 'time_game_in_seconds',0 102A5284: 'time_game_in_seconds_elapsed',0 102A52A4: 'time_in_game_in_days',0 102A52BC: 'time_in_game_in_seconds',0 102A52D4: 'time_elapsed',0 102A52E4: 'time_in_game',0 Thought they might be of use.