Displaying Remaining Time in Text Display

Hey everyone,

I was wondering if anyone knew a way to make it so I can tell the player how long it took them to solve a puzzle?

Something like "Nice job! It took you X:XX to complete the puzzle!"

Second question: Does the timer only count down? There is no stopwatch function?
If you want to show it in m:ss then you could do it like this:

Required Variables: 5

1. Timer start

2. Timer end

3. Seconds

4. Minutes

5. Minutes in seconds (that have to be substracted from Var. 3 Seconds)

Command to be executed before the puzzle starts:

8i346a1.png


After the puzzle is solved:

mMOysPY.png


Command to show the time in a text message:

eevp0pV.png
WOW. Thanks for that!
Changed 2 wrong variables in my second image, since i still had 2 other variables from my original event there ^^

Original thread: https://forums.rpgmakerweb.com/threads/displaying-remaining-time-in-text-display.24014/