Countdown Timer

Discuss authoring naninovel scenario scripts.
Post Reply
gradstein
Posts: 22
Joined: 09 Sep 2020 19:03

Countdown Timer

Post 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.

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Countdown Timer

Post 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

Post Reply