So in the game I am currently making, I plan on the character having to use action next to an item (Ex, Bed, Dresser, Closet) to find keys to advance why solving a mystery. I noticed that to get a key to open a door, the key has to be existant (Obviously.) I did some testing and found if I got the key from a chest, it worked. If I tried getting it from "Searching" a bed (With an event I made) to get the key, it doesn't work.
Any ideas on how to make it recognize the key if I get it from an event I made?
New to RPG Maker VX Ace...Giving items?
● ARCHIVED · READ-ONLY
-
-
Without screenshots it is hard to be certain of your setup, but did you make sure the events you have to search have their "Priority" set to "Same as Characters"? If it is "Below Characters" they have to stand directly on top of it to interact with it.
If there is no graphic set to an event it defaults to "Below Characters" and has to be changed manually. -
If it's a problem with your events, it's always a nice idea to put up screenies of your events...
anyway, yeah I do guess it's a matter of the bed event set as below characters which then means that for it to be activated the character needs to be right on that tile... so just set it to Same as characters and it should work fine -
Here is my set up.
http://prntscr.com/3txvac
Dresser/drawer event
http://prntscr.com/3txvgh
Here is the door:
Pg 1: http://prntscr.com/3txvku
Pg 2: http://prntscr.com/3txvol
Before you go on saying a lot of stuff I am missing, I am well aware. Please by all means give me some pointers, but I am here to figure out why getting the item from the chest works on the door, but not the key from the dresser.
I had a different set up before if breaks and choices involved, but someone sent me to a PDF showing this. It works, but only if the key is obtained by the chest. -
Your "Priority" is set wrong. Instead of "Below Characters" or "Same as Characters" you have it set to "Above Characters" which means the player would have to walk underneath it to interact with it, the same as "Below Characters" except for the graphic(if there was one) would display between the player and their character.
I'm going to try to break this down concisely(I have a habit of rambling):
"Event Priority" set to:
- "Below Characters" means the player and the object have to overlap in order to interact. Any graphic associated with the event will display behind the player's character, like the floor or carpet they are standing on.
- "Same as Characters" means the event is on the same level as the character and the player's character may interact with it when standing on an adjacent tile and facing it.
- "Above Characters" means the player and the object have to overlap in order to interact. Any graphic associated with the event will display between the player's character and the player.
-
The problem is not obtaining the key, it's just getting it to work in the door. Almost as if the chest and dresser give out different keys, but they do not as I have checked several times.
-
Oh sorry for having it set to that... it wasn't originally set to that, I was just testing the difference myself. I had it set correctly, just not in that image. Like I said, I can obtain the key no problem, just the one I gain from the dresser is not usable.
-
Actually, I think I may know what I did wrong
-
I don't know what your database's item list is set up as, and having a duplicate item in it would be the only way the "Door Key" given by the one would differ from the "Door Key" given by the other, because the item name would be the same, but the item ID number would be different.
The "Condition" for the door is set specifically for the "Door Key" in slot 17 of the database's item list(ID number 17). -
Thank you for your time to the people who responded... I found my mistake. It was a very very ridiculous mistake I made, but I only solved it after thinking about what you guys said until I noticed it. Thanks!
-
Good job. Perhaps state how you solved the problem in case people search up this thread and want to figure out how to solve it.
-
My answer is actually not related to the topic. I was underestimating the capabilities of this program and pasted the event to all four sides of the main event assuming you had to be on the event in order for it to work. Therefore, I was only changing the main event and not the four sides it was activating on. I deleted the four sides and changed the priority. Thanks.