Using Multiple Items to Gain Entry

In RPG Maker VX Ace, I know how to show someone one item and they will react to the item (such as showing someone a key and they open a door for you). But how would I do this except you need multiple of the same item?
You can assign a variable to this item, and each time the player gains one of this item, the variable value increases by one. Then check using a conditional branch for the variable's value if it reached the correct number or not. 🙂

Alternatively, there is this plugin which makes things a little simpler:

http://mvplugins.com/plugin/mjshi/Conditional Branch Plus
or you can use control variable to get the number of items in inventory and then check if that number is high enough.
You can assign a variable to this item, and each time the player gains one of this item, the variable value increases by one. Then check using a conditional branch for the variable's value if it reached the correct number or not. 🙂

Alternatively, there is this plugin which makes things a little simpler:

http://mvplugins.com/plugin/mjshi/Conditional Branch Plus

i am still a bit confused. How exactly do i do this?

I've moved this thread to Ace Support. Thank you.


Here is an example of how you can check it:
check.png
Control Variables > Game Data > Item [x] in inventory
Moved to: Ace Support
Here is an example of how you can check it:
View attachment 82265
thank you so much

Original thread: https://forums.rpgmakerweb.com/threads/using-multiple-items-to-gain-entry.90929/