I recently started development of a game where the player receives a pocket watch from an old man from his hometown and this pocket watch can control time. I am trying to make a system where you can press a certain button and it will pause time temporarily(about 1 second but upgrades as you progress) and there are puzzles you complete with the ability and things like that, however I am not sure how to create something like this. Does anyone know how to do something similar?
time control ability
RPG Maker MV SupportTake a game switch and call it something like "time stopped". Give every event as their highest page a page conditioned on that switch with whatever you want that event be able to do when time is stopped (presumably in most cases just the event's sprite and no code).
Have a parallel event checking if the button is pressed. If it is, turn on the switch and start a timer. Then instead of checking if the button is pressed have the parallel event check whether the timer has run out. If it has, turn the switch off again.
Have a parallel event checking if the button is pressed. If it is, turn on the switch and start a timer. Then instead of checking if the button is pressed have the parallel event check whether the timer has run out. If it has, turn the switch off again.
Changing an event's page resets many of its properties (e.g. direction & move route), so that may cause irregularities in some situations, e.g. an event with a fixed "patrol" move route. It's probably the easiest non-plugin solution for this, though.
In case it helps, I have an RMMV plugin that lets you disable event triggers and/or prevent them from moving while a switch is on:
In case it helps, I have an RMMV plugin that lets you disable event triggers and/or prevent them from moving while a switch is on:
Do you have a MZ version of this plugin ?
create an event that does it and put it on the timer.
No, I don't think I ported that one. It might work in MZ, though.
Otherwise you could start a new thread in Plugin Requests. 👋
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/time-control-ability.152570/