Using Multiple Items to Gain Entry

CarterAjamie

Veteran
Veteran
Joined
Dec 11, 2017
Messages
40
Reaction score
1
First Language
English
Primarily Uses
RMVXA
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?
 

Miss Nile

Veteran
Veteran
Joined
Jul 6, 2012
Messages
464
Reaction score
411
First Language
Egyptian Arabic
Primarily Uses
RMMV
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
or you can use control variable to get the number of items in inventory and then check if that number is high enough.
 

CarterAjamie

Veteran
Veteran
Joined
Dec 11, 2017
Messages
40
Reaction score
1
First Language
English
Primarily Uses
RMVXA
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?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,381
Reaction score
8,537
First Language
English
Primarily Uses
RMMV

I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


Here is an example of how you can check it:
check.png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
Control Variables > Game Data > Item [x] in inventory
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top