Key Item Selection

KanaX

Just being a sleepy
Veteran
Joined
Apr 3, 2013
Messages
1,455
Reaction score
1,297
First Language
Broken English.
Primarily Uses
N/A
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.
 

KanaX

Just being a sleepy
Veteran
Joined
Apr 3, 2013
Messages
1,455
Reaction score
1,297
First Language
Broken English.
Primarily Uses
N/A
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.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
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.
 
Last edited by a moderator:

KanaX

Just being a sleepy
Veteran
Joined
Apr 3, 2013
Messages
1,455
Reaction score
1,297
First Language
Broken English.
Primarily Uses
N/A
Perfect, thank you very much.
 

KanaX

Just being a sleepy
Veteran
Joined
Apr 3, 2013
Messages
1,455
Reaction score
1,297
First Language
Broken English.
Primarily Uses
N/A
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?

Edit: Ok, that was stupid, I can just put the conditional on top and the rest of the event on the "Else" bran ch
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top