Monster slaying and sidequest checking question

So I'm using a achievement plugin system into my game. Base on a variety of events and meeting goals, and how to meet them, I want to add in achievement goals, like X amount of gold collected altogether, monster slaying, questing, etc etc.
I'm wondering, can this be taken advantage of via Common event? If so, how?
I tried testing this idea simply under the common event achievements I am setting up. How it's setup is parallel and under the achieveStart switch when the game starts up, so it displays all the achievements the player can gain throughout the game. I tried putting in the achievementComplete within the display, and place within it a conditional branch with a check on sidequests if the variable is 1 or greater. I tried this, but nothing happens.

Will I need to put in the completedAchievements in a different common event for it to be recognized? Or will common event not work for this idea?
you'll have to tap into an event that runs once each X time.
say, at player transfer.
your common event would handle all the necessary checking, but you still need to hook up the trigger to something already established.
making it run as parallel is just wasted processor time, because you'll likely be not-in-condition-to-fire-the-event most of the time.
So what about autorun? Or this point, doesn't matter and not stick with common event?

And as for hooking up to an event already established, goes back to my earlier post. It is already hooked. It's hooked under gameStart, which enables the Achievements to show and was hoping for the checks upon Monster Slaying and Quest points.
So what about autorun? Or this point, doesn't matter and not stick with common event?
autorun will run every time you go to the map window, as long as the condition switch is on.
but I'm not sure how it would get out of the process.... it might get stuck on a loop.
you can make it with common event..... you just need something to call up that common event.


It is already hooked. It's hooked under gameStart
yes, but gameStart runs only *once*
you need something that checks for *condition of completion* every couple of events.
what good is it to have a counter for slain monsters, if you're not checking for amount of slain monsters after each monster has been slain?
I believe you're talking about the plugin itself, which kicks in at game start.
you have to check if the plugin has a built-in check that runs the validation routine every now and then.
I made something similar for myself, to check for completed quests, which I hooked up to the map refresh.
anything that triggers a map refresh (dialogue end, party update, battle end, or scene transfer) will trigger that check, so it can check for any items gained (by monster drop or NPC interaction) which then trigger the next stage of the quest.
I originally had it tied to scene update, which triggers every frame, and that caused lag.
So if I may ask, what would you suggest and how you would set it up seeing you've done this before? Without trying our very best to do multiple common event checks, unless there's no other way. It be an interesting feature to add is why, especially with achievements. Don't want to use achievements just for completing Chapters.
I believe you'll need as many checks as different achievements you have.
all those checks would go into your routine (give or take a couple extra checks to speed up the process), which you then call up at a specific time after an event in the game.
what event? I don't know.... depends on your gameplay, and what event you think will be common to other separate events.
in my case, it was the map refresh.
make a test run with all separate checks into one common event, and call up that common event manually, say, after a battle.
even after the battle ends, you can still trigger actions through troop events.
once you get that running, is just a matter of placing the call somewhere else.
And it seems Yanfly has nothing similar to enhancing the common event to make this setup easier. Oh well. I guess that means extra work on my side. Good thing I asked this, and caught on before going on any further. I'll test a few things, and see what I can come up with. If anything, it seems like all I need is to call common events in every situation based on setups like this.

Original thread: https://forums.rpgmakerweb.com/threads/monster-slaying-and-sidequest-checking-question.79231/