Help me pls

So i want to make a furniture with drawers and i am using choices inside choices , like
Do you wanna open the first drawers or the second drawer?
Imagine you choose the first , and then you have a text saying
This drawer have a bottle , do you wish to drink it ?
Yes or No?
and if yes you have end game , if no you get the bottle to the inventory
BUT after that i want to get back to the furniture to see whats inside the second drawer, but i cant open it if i use self switchs , but at the same time if i dont use them , i can get infite itens,
Just to help out understanding the second drawer was
You got a old pair of gloves
Do you want to wear them?
Yes or No?
SOOOO i want to know if its possible to choose the first one and them come back and choose the second one without repeting the first one or if i leave again repeting both.
I will put a picture of my coding , but its in Portuguese the RPG Maker MV , so i tried to explain the best i could in text
I also tried making some branching but really didnt knew how , if someone can explain me i would be very happy Screenshot 2019-04-23 03.15.42.png Screenshot 2019-04-23 03.15.49.png
Screenshot 2019-04-23 03.15.42.png
Screenshot 2019-04-23 03.15.49.png
Screenshot 2019-04-23 03.15.42.png Screenshot 2019-04-23 03.15.49.png
If the player first opens the first drawer, turn self switch "A"
The event page for self switch "A" contains the event for the second drawer only and ends with turning self switch "C".
If the player opens the second drawer first, turn self switch "B".
The event page for self switch "B" would be the event for the first drawer, ending with turning self switch "C".
The event page for self switch "C" would be the empty event.
I tested it and if I'm understanding you correctly, this should do what you need.

Untitled.png

Screenshot (3).png

Screenshot (4).png

Screenshot (5).png
you can use self switches without having extra pages conditioned by the self switches. Use them in a conditional branch instead.

And please use meaningful thread titles that actually give a clue about your issue. Every single post in this forum could be titled "Help me pls". Imagine how useless that would be to everyone.
If the player first opens the first drawer, turn self switch "A"
The event page for self switch "A" contains the event for the second drawer only and ends with turning self switch "C".
If the player opens the second drawer first, turn self switch "B".
The event page for self switch "B" would be the event for the first drawer, ending with turning self switch "C".
The event page for self switch "C" would be the empty event.
I tested it and if I'm understanding you correctly, this should do what you need.

View attachment 114126

View attachment 114127

View attachment 114128

View attachment 114129
Hello! Thank you so much for the reply! But the problem is , if i opened the top drawers , it opens just fine , but if i leave the object and come back doesnt let me open the bottom one , i wanted to know if it was possible to open both without making a infinite chance of getting itens , Sorry for the trouble after all you did , i will wait an answer Thank you again
you can use self switches without having extra pages conditioned by the self switches. Use them in a conditional branch instead.

And please use meaningful thread titles that actually give a clue about your issue. Every single post in this forum could be titled "Help me pls". Imagine how useless that would be to everyone.


Sry it was my first post and i really didnt knew how this worked , i will be more meaningful in the future, btw i also tried to make conditional branch but it didnt worked can you also help me? Thank you very much
tried to make conditional branch but it didnt worked
that means you made a mistake, and we would have to see a screenshot of the event to tell you which mistake you made.
that means you made a mistake, and we would have to see a screenshot of the event to tell you which mistake you made.
Yh i know , i am still a begginer in the program and all , thats why i am asking for the help , i posted some pictures in the start of the topic , if you can help me with the branching or where i can put it, i would really be thankful
i posted some pictures in the start of the topic
Right, but did you change anything based on the advice from CoryH and Shaz?

Everytime you change your event, you need to post it again so we can see it, that's the best way for people to help you.

Instead of saying "it didn't work", it's better to say:
  • I want this to happen
  • Instead, that happened

Original thread: https://forums.rpgmakerweb.com/threads/help-me-pls.108261/