So I'm at a part where the player must fight rats and there is two sets. one where a rat drops a quest item and one which drops a rare item. My problem is how can I keep the items from dropping more then once after the player already picked them up?
How to keep Key items from dropping more then once?
RPG Maker VXAce SupportIts easy, at the end, after the item has been given in the event, add a control self switch and a blank event page to both and that should fix it. I hope this isint confusing. 🙂
it is a little confusing. I'm still new to this program
If you want an item to drop only once, you cannot set that item for dropping as an enemy reward. And that also means you cannot have it drop in random battles.
Instead you need to make it an evented battle. Place an event where you want the player to fight for that item. That event should call a battle processing with the troop you want the player to fight, and after the fight you place a change item command and a self-switch to a second page (to prevent getting that item again by activating the event again.
The second page can either be empty (no future fight) or also contain the battle processing (player can fight the monster again, but won't get the item a second time).
Be warned however that if the second page continues to contain fighting, you should not set it to a delay between approaches, or the player would continue to get into fights again and again.
I suggest you follow the link in my signature and work through the tutorials there - especially the variables guide should help you with things like these.
Instead you need to make it an evented battle. Place an event where you want the player to fight for that item. That event should call a battle processing with the troop you want the player to fight, and after the fight you place a change item command and a self-switch to a second page (to prevent getting that item again by activating the event again.
The second page can either be empty (no future fight) or also contain the battle processing (player can fight the monster again, but won't get the item a second time).
Be warned however that if the second page continues to contain fighting, you should not set it to a delay between approaches, or the player would continue to get into fights again and again.
I suggest you follow the link in my signature and work through the tutorials there - especially the variables guide should help you with things like these.
ok thank you
Original thread: https://forums.rpgmakerweb.com/threads/how-to-keep-key-items-from-dropping-more-then-once.39963/