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

Joined
Jul 12, 2020
Messages
63
Reaction score
15
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
792
Reaction score
428
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

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
852
Reaction score
1,983
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,598
Reaction score
883
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

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
852
Reaction score
1,983
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
63
Reaction score
15
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

Sapphire Sodium
Veteran
Joined
Jun 15, 2017
Messages
852
Reaction score
1,983
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

I FINALLY DID IT! 5 years making my very first game and I just officially released it on STEAM..... OMG..... I can say I finished a game! The feelings!!!!!
Stream will be live shortly! I am going to be playing some Among Us! Feel free to drop by!
Ami
tv program always get the ratings (it's the reason why drama series has 1000+ episode),also full and nonsense of censorship (weird blur, a scene getting cut because the unconvenient viewer,but it unconvenient to me either. you never see what the original is)

i know the reason is to take cover the viewer from the negative thing,but i just laughing and mocking of them that they're always suck :guffaw:
Star Chart Idea - Just something I am working on.
My sister learned spanish the old fashioned way and saw my way of conjugating. I don't use the formal method and just wing it. I thought her heart might explode. Apparently, different words use different endings. Weird part is even though I never learned the difference, I still can tell when the endings "look wrong".

Forum statistics

Threads
104,455
Messages
1,006,406
Members
135,964
Latest member
Musixim
Top