Countdown Timer

Posted: 13 Oct 2021 19:30
by gradstein

Is there any way to run a countdown i can check against? For example, create an if statement that checks if the user has waited 1 hour. If they have, move on via goto, and if they haven't, print a message that shows the time still remaining? It would have to access system clock since they might quit the game and come back.


Re: Countdown Timer

Posted: 14 Oct 2021 15:05
by idaot

For system clock you'd need another library like .Net DateTime (we cannot provide support for third-party libraries/extensions so I suggest looking for video tutorials and documentation around the topic) If it needs to update every frame, then an invisible Custom UI is probably the easiest way to track it. Otherwise, use a custom command: https://naninovel.com/guide/custom-commands.html