Key Item Selection

I want to find a way to trigger events by selecting key items ONLY FROM THE MENU.

The "Select Key Item" command opens the key item window where we assign the number of our chosen key item to a variable. If the variable has the value we want, then the conditional I will have put will activate.

The problem is that the "Select Key Item" command can only be activated by having already triggered the event. The window appears and the player knows that he has to choose an item. I want the player to guess whether he/she needs to use an item in the certain event, something that cannot happen the previously mentioned way, since I force him/her to use an item.

One way to solve this is by using the Event Trigger Labels script by Tsukihime. That way the player can activate the key item selection window whenever he wants and if the event he/she is standing in front is the right one, it will activate.

The only problem with the event is that I don't want a separate selection window to appear. I want the player to go to the main menu -> Item Menu -> Key Items submenu and select the item from there. Use "The witch's house" as a point of reference.
Relevant tutorial: http://forums.rpgmakerweb.com/index.php?/topic/35325-how-to-challenge-npcs-to-a-card-game/


See video at the bottom if that's what you are aiming for.
Relevant tutorial: http://forums.rpgmakerweb.com/index.php?/topic/35325-how-to-challenge-npcs-to-a-card-game/

See video at the bottom if that's what you are aiming for.
Ok yes, this is exactly what I'm looking for.

Hate to ask this, but is there a way to avoid creating a new event page and having the script check for a label (like Event Trigger Labels), or at least a conditional?

I'm pretty far in development and creating new event pages might mess up a lot of my work.
Yes, you can use a conditional branch to check whether the switch you want is ON or not and just split your page into two parts.


I only used two pages since it seemed more organized to me.
Perfect, thank you very much.
Yes, you can use a conditional branch to check whether the switch you want is ON or not and just split your page into two parts.

I only used two pages since it seemed more organized to me.
 I tried placing the key item triggered part inside a conditional that wants the switch on but it just played the whole event.

Did I misinterpret something?

Spoiler
T7Phnp8.png
Edit: Ok, that was stupid, I can just put the conditional on top and the rest of the event on the "Else" bran ch
Kanax, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

If your own post is the last in a topic, just edit it.

Original thread: https://forums.rpgmakerweb.com/threads/key-item-selection.37876/