Forum rules - please read before posting.

Current time

edited September 2019 in Technical Q&A

Hi,
I want to display the current time in a menu in game, is there a way to do this? Preferably the hour and minutes separately?
Thanks!

Comments

  • You can use a custom script to create a string of the current time in whatever format you want, and then use it to update a Global String Variable's value, i.e.:

    AC.GlobalVariables.SetStringValue (varID, myTimeString);
    

    This variable's value can then be displayed in a Label menu element.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.