Forum rules - please read before posting.
Tech questions during the weekend? Drop in on the community Discord channel!

Current time

edited September 2019 in Technical Q&A

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?


  • 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.
Do NOT follow this link or you will be banned from the site!