Add something to the panes

XanMag
12 Jan 2016, 18:24I would like to add the 'time of day' to my panes or possibly at the top of the game by the title. How would I go about doing that?
Thanks.
Thanks.
Quantus
12 Jan 2016, 19:24You basically just create two variables that increment in the background using timers. Then you put them in a print msg using quotes and + symbols.
msg("TIME:" + game.hours + " : " + game.minutes + " ")
msg("TIME:" + game.hours + " : " + game.minutes + " ")

jaynabonne
12 Jan 2016, 19:34You can add the time of day as a status variable, if that's what you'd like. Otherwise, there may be some HTML tricks that can be used.

XanMag
12 Jan 2016, 20:41In the pane, I want
Time of Day: Dawn
Or Time of Day: Morning
Where the TOD always remains and I can switch that status with my already set 15 turn switch.
Time of Day: Dawn
Or Time of Day: Morning
Where the TOD always remains and I can switch that status with my already set 15 turn switch.

jaynabonne
12 Jan 2016, 20:48You can create a string status variable, and then in your turn script, update that variable with the correct time of day. Or did you mean you wanted something else?

XanMag
12 Jan 2016, 20:54You know how you helped with the progress bar? I'd like to do that with TOD. Maybe right beneath or above the progress bar.