MZ Event Timers for MZ?

Is anyone found or know where to find or is even exist, a plugin that allow to create "timer events", like the one for MV from @Galv.

1. I know I can event some things with "wait" command and selfswitches, but it would be such a help.
2. I don't want to use Fossil, because it has problems with mobile deploy after this, so... Yeah, thanks for any help or clue.

Edit: Okay, not sure it's what I'm looking for, but I see that Visustella has the "Timer Event", so I'm gonna check it today!
anyone found or know where to find or is even exist, a plugin that allow to create "timer events"

Mine can..

I really need to update this code, since I wrote this a while ago & probably could clean it up a bunch but it's still handy & does what it needs to.

Looking to do something like this?


you can follow the steps shown in the video... or setup however best suits your needs

In the demo video, calling the event timer was done inside the events moveroute using the following script:
Code:
startTimer({timerId: 1, eventId: this._eventId,  selfSwitchMapId: $gameMap._mapId, selfSwitchEventId: this._eventId})
Dear @ct_bolt, this is absolutely what I was looking for! It's just brilliant! The only probem is, that's incompatible with particle plugins "TRP_Particle_MZ" 🙁 (just does not show any timer wth this plugin on). So sad...

Edit: Actually, it works! Just does not display the timers, but I'll take it somehow. Thank you again so much, I love your plugins. This one was also one of the "key" to complete things in my game.
Dear @ct_bolt, this is absolutely what I was looking for! It's just brilliant!
Yay! Great to hear!
Thank you again so much
No prob. Glad to help. ☺️👍

I love your plugins.
Aww thank you! I appreciate your support :LZSproud:

Okay sooo...
I will definitely be making a big update soon & I'll look into TRP_Particle_MZ
I wrote this plugin a while ago, & now have much more knowledge & I think I could really improve this.

& Right now actually without using mode 2, the event timers only work on the same map
Mode 1 links directly to events
Mode 2 is basically just extra timers, with all the features

Soooo that said..
...right now if you need the timers to continue running throughout multiple maps, use Mode 2 then will have to specify a link to the events location for the display position

... but I'm going to update all of that real soon to make it even better and clean up the code & look into the compatibility issues.

...
Made an update to it just now, it's now v1.20

This can make some things easier & work "properly" but also still has some concerning factors.
Anyways.. to sum up things.. the way I detailed out above is using "mode 1" type timers and they are bound to events which means the timer wouldn't always count when not on the same map as the event...
...well now I've made more options for that and now the default is "mode 2" type timers
Mode 2 timers are "extra timers"... these timers don't have to be bound to events but they can be set to be displayed at an events location.

Probably best if I show you to clarify what I'm trying to explain...

It definitely works nicely for growing crops and other uses from my testing.

Demo/Setup:
Wow, @ct_bolt, you're working so hard! I appreciate much. 😂
I've updated, thank you for clarifying the mode 1 and 2. Actually now I need it only on actual map, but I see so much potential in this, so will be best to use it on more than actual/same map (for example, as you've mentioned, for crops). I also really aprreciate that you make the videos to show things up. I can't say much about the update, it's more clear in configuration window for sure. About the bars or visual, can't say much, because it is not show them with that TRP_Particle_MZ ^^' Anyway, THANK YOU again.

Edit: Okay, I think I found another problem. Not sure it's a bug or maybe an incompatibility wit hother plugin, the thing is I copy events from another map to the main map (ingame) by Visustella's Event Core. So I create an event ingame (taking event template from map X), and for that event "created in game", my timers doesn't work 🙁 Even when I used the command you pasted, I mean the one which activate "this event". It works for the events when I paste them on main map directly in editor, though.

Edit2: Did some more testing and trier to create event using Visustella's Event Core again, but taking template event from existing map. So it "copies" event X from the same map to another place as a new event, it's the same problem like with the other map, the timers won't work for these events. I know this is going to sound like I'm greedy, but if you could take a look at this (this Visustella's can be found in their free demo) that would be really nice...
Wow, @ct_bolt, you're working so hard! I appreciate much. 😂
Much welcome ☺️

Did some more testing and trier to create event using Visustella's Event Core again, but taking template event from existing map. So it "copies" event X from the same map to another place as a new event, it's the same problem like with the other map, the timers won't work for these events. I know this is going to sound like I'm greedy, but if you could take a look at this (this Visustella's can be found in their free demo) that would be really nice...
I've had to sort of do some work arounds since VisuStella's code isn't super friendly (pretty frustrating to work with honestly, with it being obfuscated and all) but I got it work pretty well now.

I think I will rewrite the entire timer plugin soon though, looking back at my old code makes me laugh at how poorly written it all is compared to what I could do now. lol

Anyways... without further ado, check this out:
Spoiler: Setup/Demo Video


Notes:
Spawned events cannot use notetags/comment tags. Must call timer via script.
Spawned event timers must use mode 2 & spawned events start with Event ID 1000, so also need to set Extra Timers in the parameter settings to a pretty high value, like at least 1050+ depending on how many spawned events will use the timers.
Took away the {sprite} feature for now which was using a linked sprite to the character (because that broke the player being able to save the game)
...now use {x} & {y} instead. (see demo video above for that example)

Currently the latest version now is v1.30
I did everything like you showed me in the video, and it finally works. You saved my game! 😢Thank you...

Also, from what I noticed and didn't do before, my extra timers was set to default 10. When I set it to 10 like in default, it still doesn't work. Changed to 1111 like you showed and works again, so maybe you can set it to default as 1100 or something? Would save some problems for the others ^^
I've had to sort of do some work arounds since VisuStella's code isn't super friendly (pretty frustrating to work with honestly, with it being obfuscated and all) but I got it work pretty well now.
I know (I mean something like this has crossed my eyes somwhere, maybe even you wrote here once on the forum), so sorry for the troubles...
Mine can..

I really need to update this code, since I wrote this a while ago & probably could clean it up a bunch but it's still handy & does what it needs to.

Looking to do something like this?


you can follow the steps shown in the video... or setup however best suits your needs

In the demo video, calling the event timer was done inside the events moveroute using the following script:
Code:
startTimer({timerId: 1, eventId: this._eventId,  selfSwitchMapId: $gameMap._mapId, selfSwitchEventId: this._eventId})

May I have a question? I made the timer event according to you video tutorial. When I leave current map and then come back, the timer restarts. Is there a way to make it always run even when the player is away?
Thank you in advance!
May I have a question? I made the timer event according to you video tutorial. When I leave current map and then come back, the timer restarts. Is there a way to make it always run even when the player is away?
Thank you in advance!
it's better to create a new thread as he is no longer alive.
and explain exactly what the issue is and what you did.

I don't know if the timer resets as that is what happens when leaving the map.
however, there is a plugin that is more global, can even count down while offline.

Original thread: https://forums.rpgmakerweb.com/threads/event-timers-for-mz.155670/