Collect Items Event

Basically, I want to create an event where the user has to walk around and collect items (these items will be events, and once they have collected the event, it will disappear), and then return to a character


but I'm unsure how I would get that character to know that all of the events have been activated


Any ideas?
Variables. Increase a variable by 1 every time they interact with the event, then once the variable is a set amount, have the NPC interact accordingly.


Edit: Make sure to turn off the event once they interact with each one once, else someone could do the same event over and over instead. You'll need a self switch as well for that one.
I did this in my game. I had three different types of item and a certain amount needed to be collected of each. There was a variable and a completion switch for each type of item. Picking up one added 1 to the variable and turned on a self-switch making the item go away on the map. I gave a message when you had collected all of a certain type, and turned on a switch when you had done so. After all switches were on there was a message that told you the quest was complete and another switch was turned on.
If they are items, you could also make your quest giver do a Control Variables command, which will allow you to count how many of the item is in inventory.  Similar to the above, but you're not dedicating a variable JUST to count those items - it can be a multi-use variable that can be used for other things.

Original thread: https://forums.rpgmakerweb.com/threads/collect-items-event.59293/