Select object

Hello everyone! (excuse my bad english)

I'm just learning how to use RPG Maker MV because it's a friendly software when it comes to creating games. But there are certain things, many, that I wanted to implement that I have only achieved with plugins.

I would like to ask, is there any way or plugin that allows in a part of the dialogue to make the player choose an object and depending on which one he chooses, it triggers a different dialogue? Something like with Ace Attorney where you were asked to present an evidence/object during the dialogue triggering different reactions in the characters.
There is an event command called Select Item. It lets the player pick an item of a specific type from the party inventory. The ID of the selected item is stored in a variable, then you can choose what happens based on the value of that variable.

Here's an example, choosing a key to unlock a door:

◆Text:None, Window, Bottom : :This door is locked. ◆Select Item:Input, Key Item ◆Comment:Did the player select an item? ◆If:Input > 0 ◆Comment:Check if they picked the correct item (ID 5) ◆If:Input = 5 ◆Text:None, Window, Bottom : :Unlocked the door! ◆Control Self Switch:A = ON ◆ :Else ◆Text:None, Window, Bottom : :That doesn't work. ◆ :End ◆ :End
Dadoza, if you are a first time user, this game tutorial can help you a lot! 😉

What you are trying to do can be done easily with Conditional Branches and Variables, this is explained in detail on the tutorials above.
There is an event command called Select Item. It lets the player pick an item of a specific type from the party inventory. The ID of the selected item is stored in a variable, then you can choose what happens based on the value of that variable.

Here's an example, choosing a key to unlock a door:

◆Text:None, Window, Bottom : :This door is locked. ◆Select Item:Input, Key Item ◆Comment:Did the player select an item? ◆If:Input > 0 ◆Comment:Check if they picked the correct item (ID 5) ◆If:Input = 5 ◆Text:None, Window, Bottom : :Unlocked the door! ◆Control Self Switch:A = ON ◆ :Else ◆Text:None, Window, Bottom : :That doesn't work. ◆ :End ◆ :End

Wow, I had no idea it could be done like this. Thank you very much indeed, thank you for the answer and the explanation! 😀
Dadoza, if you are a first time user, this game tutorial can help you a lot! 😉

What you are trying to do can be done easily with Conditional Branches and Variables, this is explained in detail on the tutorials above.
I will put them into practice by learning each of the functions. Thank you very much for sharing these tutorials! I appreciate it 🙂

Original thread: https://forums.rpgmakerweb.com/threads/select-object.152184/