How do I...make it to where the player needs to manually select an item for something?

Joined
Jul 12, 2020
Messages
32
Reaction score
11
First Language
English
Primarily Uses
RMMV
So up until this point, I've had instances where I could just let the game auto-matically detect the player as a key item to let them get to something...


But now I've reached a point where I think I need to start letting the player figure out what to use on something. (In my particular example, I want it to where the player finds a key, and has to "use" it in front of the correct locked door....somehow)
Problem is, I can't seem to figure out how to do that. Any tips/ideas pretty please? :3
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
675
Reaction score
371
First Language
Poland
Primarily Uses
RMMV
I don't quite follow, but perhaps this will help

You said to use items, well you can change from video pics of switches to items and should do
 

Hyouryuu-Na

Procrastinator
Veteran
Joined
Jun 15, 2017
Messages
771
Reaction score
1,732
First Language
Not English
Primarily Uses
RMMV
In items, there's a place where you can enter common events:
1597435494728.png
You can make a common event that will check for the player's map position. Like,
if ($gamePlayer.x==a && $gamePlayer.y==b) then the door opens.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,393
Reaction score
794
First Language
Dutch
Primarily Uses
RMMV
@Soulrender @Hyouryuu-Na you dont understand his question.
he means HOW to select an item for something through all his item,
when he has it or not have it.

itemselection.png

above is a tiny event for something I need, you select item command and what item
you have in possession (regualar, weapon, armor, keyitem etc)
than a condition brance if it has the item, if it does, you lose the item (unless the scope
is none), that you can either use a variable if need, if not, leave that be, and turn on
a selfswitch ON, else, it doesn't work, wont take the item.
 

Hyouryuu-Na

Procrastinator
Veteran
Joined
Jun 15, 2017
Messages
771
Reaction score
1,732
First Language
Not English
Primarily Uses
RMMV
Maybe I did misunderstand but what I showed is how to manually go to the menu and use items. What you showed is how to use the select item command. Both get the job done
 
Joined
Jul 12, 2020
Messages
32
Reaction score
11
First Language
English
Primarily Uses
RMMV
Ahh, sorry if I didn't clarify correctly haha.

I'm definitely gonna try all of your suggestions to see what fits the best!
What I was trying to say is like...I want there to be segments in my game where like, you need to go into your items inventory, and "use" the correct item while facing the proper event spot so that it triggers something.
(Veeeery important for a puzzle-solving based game)


I think it would be too easy if I left it to where...you find the item, and when you interact with the object, the game detects you have the object through a variable/switch, and lets you proceed.
I have a few parts in the game like that right now, and I was kind of looking to change that cause well, I wanna make it FEEL like you are making the progress manually, if that makes any sense lol
 

Hyouryuu-Na

Procrastinator
Veteran
Joined
Jun 15, 2017
Messages
771
Reaction score
1,732
First Language
Not English
Primarily Uses
RMMV
By the way, it'd be a pain to make a common event for all items so here's a new way. Use one common event for all items on all maps:
1597438739805.png
Edit:
Forgot to put in condition checks for directions. Use $gamePlayer.direction()
2-down, 8-up, 4-left, 6-right
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Hello I buyed RPG Maker VX Ace a long ago and I want to use it again but in the meantime I changed my pc but I lost the paper with my product key on so I can't use RPG maker again... someone can help me please ? or there is no hopes ?:'( ( I have a bad english I'm sorry )
I was away this days here in the forum but it was for a good cause!
The trailer of the demo of Luke Inn is on youtube and I am so happy!
I need to see the bugs of the game but I am happy that I have new content to show!

The last part of the modern interior will be ready soon. This will be a B-tile. With interior items for the kitchen, bathroom, toilet and storage room.
This frantic shooting ARPG plugin for MZ looks really great. Here is the link to a post from the official Japanese RPG Maker forum.
We start in 5 minutes!

Forum statistics

Threads
102,940
Messages
996,114
Members
134,391
Latest member
coffeequeer
Top