- Joined
- Apr 5, 2018
- Messages
- 57
- Reaction score
- 7
- First Language
- English
- Primarily Uses
- RMMV
I've seen this topic floating around in the Vx/ace forums but it's never really what I'm needing help with. I'm trying to set up a situation in which an injured npc needs multiple potions/ healing items to recover before they are healed for a quest. Over on the vx/ace forums one of the common solutions for something similar to this is, making the item a Key Item and using the Select Key Item command to put the item id into a variable. I have that part down but I don't know how to tell the script how to check for the number of times the npc has been given said item or if that is even possible at all? I think I am complicating things by having the item also consumable by the player character, like a basic potion but it can also be given to this particular npc?
Here is what my script looks like so far. I think I might need to control the event by starting a new page each time the player has successfully given the item? The other problem is, as of right now the script is literally accepting ANY item I hand the npc from the regular items menu. I'm wondering if there is a way to set the event to just accept the quest item and nothing more?

If anyone can point me in the right direction I would appreciate the help.
Thanks in Advance.
Here is what my script looks like so far. I think I might need to control the event by starting a new page each time the player has successfully given the item? The other problem is, as of right now the script is literally accepting ANY item I hand the npc from the regular items menu. I'm wondering if there is a way to set the event to just accept the quest item and nothing more?

If anyone can point me in the right direction I would appreciate the help.
Thanks in Advance.
Attachments
-
87.9 KB Views: 1
