Joined
Dec 25, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
I am trying to make a item when used on a event will put it below the player. Can someone explain to me how to do it in MV?


Thank you,


STH
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
12,003
First Language
English
Primarily Uses
RMVXA
"How do I...?" questions belong in the Support forum for the engine you are using.  So...


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

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
446
First Language
English
Primarily Uses
RMMV
In the event window, select 'Conditional Branch', tab three, Items. Select the item you want. This will allow you to make a literal key item. With that, you can set whatever you need within the conditional branch, whether it's simply making the door disappear using self-switches or having an opening/closing door.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,257
Reaction score
8,712
First Language
German
Primarily Uses
RMMV
ut's better to do this with page conditions instead of conditional branches if you want it automated - the page condition "item" activates when the item is in inventory - the conditional branch needs the player to access the event.
 
Joined
Dec 25, 2016
Messages
3
Reaction score
0
First Language
English
Primarily Uses
In the event window, select 'Conditional Branch', tab three, Items. Select the item you want. This will allow you to make a literal key item. With that, you can set whatever you need within the conditional branch, whether it's simply making the door disappear using self-switches or having an opening/closing door.

Thank you, this truly helped me. 
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
446
First Language
English
Primarily Uses
RMMV
You're welcome. Of course, there are different ways to achieve this. As Andar mentioned, there is a spot in the event menu that allows you to have the trigger being the item itself without relying on conditional branches. I tend to use conditionals because I don't have to make another page for the opening/closing of the door.
 

ChoVah

Warper
Member
Joined
Oct 11, 2021
Messages
3
Reaction score
1
First Language
English
Primarily Uses
RMMV
I used the conditional branch, I also put after :End "this door is locked", so when I got the key it let me in, but still displayed "this door is locked" after gaining entrance. how does one fix that?
 

Asanti

A Random Person
Member
Joined
Oct 7, 2021
Messages
21
Reaction score
45
First Language
English
Primarily Uses
RMMV
I used the conditional branch, I also put after :End "this door is locked", so when I got the key it let me in, but still displayed "this door is locked" after gaining entrance. how does one fix that?

I'd make one event page that just presents the dialogue "This door is locked", and then a second page with the "key" item set as a page conditional. The second page, of course, would unlock your door.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,706
Reaction score
1,590
First Language
English
Primarily Uses
RMMV
I used the conditional branch, I also put after :End "this door is locked", so when I got the key it let me in, but still displayed "this door is locked" after gaining entrance. how does one fix that?
You should post a screenshot of your event when asking for help so people can actually see what you might have done wrong. You should also start your own thread rather than tagging onto one that's five years old with a different version of the software :stickytongue:

But the answer to your question is - don't display the text "this door is locked" unless you don't have the key. The :End doesn't mean the event somehow stops, that's just the end of your conditional branch. So you would want to check the box in your conditional to have an Else. Then you do:
If party has the key item
- transfer player
else
- text "this door is locked"
 

Asanti

A Random Person
Member
Joined
Oct 7, 2021
Messages
21
Reaction score
45
First Language
English
Primarily Uses
RMMV
Ooh, yes. That's much more efficient, do what ATT_Turan said.
 

Latest Threads

Latest Posts

Latest Profile Posts

Sizzle sizzle sizzle...
zbf1dCZ.gif
Sharing my past was a mistake. Will delete the post when I get access to a working internet connection again.
TFW you get a plugin working correctly with your other plugins ♡\( ̄▽ ̄)/♡

(CW for minor gore - Einar's Y incision is gone for his test portrait)

Cs5kAbZ.png
Doing some winter related edits for a cozy cottage!
I think it's the third time I am changing my skill info plugin, but as I get better at programming, I want to fix the trash I made earlier :p

Streaming while I am programming the plugin. Join in if you wish :)

Forum statistics

Threads
116,981
Messages
1,103,496
Members
152,845
Latest member
Zynarith2
Top