Respawn timer for on map encounters?
RPG Maker MV SupportIt's very hard to achieve without a plugin...
So, I made you a plugin for this, it's here
Insert it into your project, and for every monster after you beat him add Plugin Command after it :
KockaRespawnEvent start_timer amount_in_seconds self_switch
Where :
amount_in_seconds - The amount of time in seconds when event will be respawned.
self_switch - Self switch that is set to ON when timer starts and set to OFF when timer ends.
And then add an empty event page after that event page with condition : self switch set to what you had in Plugin Command
So, if your Plugin Command looked like :
KockaRespawnEvent start_timer 60 A
You have to add an empty event page with condition : self switch A, and the event will respawn after 60 seconds.
(Sorry if it's not working as intended, this is my first plugin)
So, I made you a plugin for this, it's here
Insert it into your project, and for every monster after you beat him add Plugin Command after it :
KockaRespawnEvent start_timer amount_in_seconds self_switch
Where :
amount_in_seconds - The amount of time in seconds when event will be respawned.
self_switch - Self switch that is set to ON when timer starts and set to OFF when timer ends.
And then add an empty event page after that event page with condition : self switch set to what you had in Plugin Command
So, if your Plugin Command looked like :
KockaRespawnEvent start_timer 60 A
You have to add an empty event page with condition : self switch A, and the event will respawn after 60 seconds.
(Sorry if it's not working as intended, this is my first plugin)
This is amazing! Thank you so much for making this!
It works as stated and it is very effective. It looks like the only thing I need to add is a spawn animation/transition thing. This is a great first plugin! 😀 You should post this in the Plugin Releases section because others might find it useful too!
I found this plugin really useful. Thanks for your efforts!
By the way, I activated the timer and turned on the self-switch before I saved the game and quit.
But when I loaded the game, the self-switch was never turned off again. How can I fix this?
By the way, I activated the timer and turned on the self-switch before I saved the game and quit.
But when I loaded the game, the self-switch was never turned off again. How can I fix this?
Instead of erasing the events, you could always use switches, In one of my dungeons, I need to respawn stuff as well "technically", so that's how I do it, and no plugins/scripts are needed or anything.
@xumingyuan
That's an already reported bug. It's because timers don't save with the savefile. I'll fix this in future release and post it in my plugin thread linked in the signature.
@Zoltor
Yes, but you would need too many parallel process events to count timers.
There are many scripts that were made that can also be done with events, but why would you if you could do it even more easy with plugin?
That's an already reported bug. It's because timers don't save with the savefile. I'll fix this in future release and post it in my plugin thread linked in the signature.
@Zoltor
Yes, but you would need too many parallel process events to count timers.
There are many scripts that were made that can also be done with events, but why would you if you could do it even more easy with plugin?
While it might lead to a 2% chance of the enemy spawning right after you beat it, I figured there was only a single times to control them all.
Seems to be working fine.
Thanks! This has saved me a super big headache...I was before this creating timers for a re spawn event. Thank god. Works if you want to harvest flowers too 🙂
Thanks! This has saved me a super big headache...I was before this creating timers for a re spawn event. Thank god. Works if you want to harvest flowers too 🙂
Praise be! That's just what I needed!
Great plugin, thanks!
You may want to mention the Terms of Service, though! =)
You may want to mention the Terms of Service, though! =)
Thanks! I found this plugin useful as well!
broken link... is there one out there?
@KockaAdmiralac
This is great with @Hudell time events being a bit broken now I might switch to this temp. His is more complex in the sense I wanted to use his for many diff things but for now this should do perfectly and will make it via a comment event for a easy switch.
Do you have a thread I can follow and reply to?
This is great with @Hudell time events being a bit broken now I might switch to this temp. His is more complex in the sense I wanted to use his for many diff things but for now this should do perfectly and will make it via a comment event for a easy switch.
Do you have a thread I can follow and reply to?
Original thread: https://forums.rpgmakerweb.com/threads/respawn-timer-for-on-map-encounters.49997/
