Hello, is there a way to show the total play time in the dialogue?
Play time show in dialogue
RPG Maker MZ SupportUse Control Variables to store Play Time, then \V[x] in the Show Text command to display that variable.
Use
Control Variables -> Game Data -> Other -> Play Time to save the play time into a variable, and then use \v[id] in the dialogue to display it.@Arthran Just had to find an excuse to whip out the ICODE tags. I see how it is.
thank you very much everyone
u
umm may i ask another question? i'd also like to display the minutes and seconds xD
You would need a variable to hold the minutes, and another variable to hold the seconds.
For the minutes variable, you'd do PlayTime Div 60
For the seconds variable, you'd do PlayTime Mod 60
u
may i ask for steps as well just like what you did to the previous comment? im really slow at this, i apologize for the inconveniences
...did you try first? Both of the things Arthran just said are literally on the first screen of the Control Variables event command. There are no steps to give. Click Control Variables then the options already typed for you.
You'd want to make 3 variables: PlaytimeTotal, PlaytimeMinutes, and PlaytimeSeconds
- Control Variables PlaytimeTotal -> Set -> Game Data -> Other -> Playtime
- Control Variables PlaytimeMinutes -> Set -> Variable -> PlaytimeTotal
- Control Variables PlaytimeMinutes -> Div -> Constant -> 60
- Control Variables PlaytimeSeconds -> Set -> Variable -> PlaytimeTotal
- Control Variables PlaytimeSeconds -> Mod -> Constant -> 60
thank you very mucchh
i
m so sorry for the inconveniences i was confused with the mod i forgot what is means xD
thank you very mucchh i really appreciate it
Original thread: https://forums.rpgmakerweb.com/threads/play-time-show-in-dialogue.163241/