Add something to the panes

XanMag
I 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.

Quantus
You 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 + " ")

jaynabonne
You 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
In 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.

jaynabonne
You 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
You know how you helped with the progress bar? I'd like to do that with TOD. Maybe right beneath or above the progress bar.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums