So the first pic is the location that I wanted her to stay in. At this moment, after I change location and came back, she would go back to her original location that is in front of the door. I know how to make her disappear after I change location, but I can't keep her stay there. Please help!
I want my NPC to stay in location even after I entered and exited a house
RPG Maker MV SupportI decided to make a new Switch and just activate the switch then make the original one disappear and make a new NPC that only show up if the switch is active. It works, as far as I see right now.
If there's another way though, please tell me. I want to know as much as I could.
If there's another way though, please tell me. I want to know as much as I could.
Hi!
I don't know if you're open to using Plugins, but for stuff like this, I had to use Yanfly's Save Event Location plugin.
If you install this plugin, then all you have to do is place the tag:
<Save Event Location>
in the event's notetag page at the top. This will make it to where the event's location is always saved, even if you leave the area. (It works for NPCs, objects, any event really)
I don't know if you're open to using Plugins, but for stuff like this, I had to use Yanfly's Save Event Location plugin.
If you install this plugin, then all you have to do is place the tag:
<Save Event Location>
in the event's notetag page at the top. This will make it to where the event's location is always saved, even if you leave the area. (It works for NPCs, objects, any event really)
I came here to say this!
It's also pretty much essential if you've got any block sliding puzzles that you DON'T want to reset every time you leave the room.
I am actually using plugins. The free ones anyway. And thank you for the advice! That would absolutely help a ton! For the next story section and the like, I'll use the plug in you mentioned.
Just now I managed to make it work not using the plug in, but by manipulating the switches, self switches, and variables. It makes me feel like a mastermind lol. Like, "IT WORKS! AHAHAHAHA YEAAAAA!".
I can't afford to think of puzzles yet... I have my hand full with trying to do the NPCs at the moment lol.
And yeah that plug in would help me a ton in some of the scenarios that I want to make.
Here is yet another way of doing it WITHOUT a plugin, so you have another tool for your toolbox.
After the NPC follows the scripted movement route that moves them to the new location, use Control Variables > Set > Character > (choose the event from the first dropdown and MAP X from the second dropdown). then repeat the same for Map Y in a different variable. Then, upon returning to the location, use Event Commands > Movement > Set Event Location, again choose the relevant event from the dropdown, and use the X and Y variables to specify their map position. Easy peezy!
After the NPC follows the scripted movement route that moves them to the new location, use Control Variables > Set > Character > (choose the event from the first dropdown and MAP X from the second dropdown). then repeat the same for Map Y in a different variable. Then, upon returning to the location, use Event Commands > Movement > Set Event Location, again choose the relevant event from the dropdown, and use the X and Y variables to specify their map position. Easy peezy!
@HiroDev-kinda-, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
Sorry, double posting? Did I post this post twice by mistake? I was sure that I only made one post.
That looks complicated. I might have to get used to that flow later. I still only recently got used to the menu and basic flow recently. Thanks for the method. I'll try it on one or two events I'm mjaking.
the double posting isnt referring to copy/paste of the same post twice.
its 2 separate posts in a row being from the same person. like how the 10min ago post ant the 15min ago post are both from you.
they want you to just edit the earlier post instead of making another 1
its 2 separate posts in a row being from the same person. like how the 10min ago post ant the 15min ago post are both from you.
they want you to just edit the earlier post instead of making another 1
Ah... Right. The rules did said that. I kinda forgot about that. Thank you for the reminder.
You can also just @ the user, like this @HiroDev-kinda- if you want to adress mulitple persons. Or use the +Quote/Multiquote the posts you want to respond to.
@slimakiswinka Okay, noted. Thanks for the tip!
@HiroDev-kinda- also you should make sure to select the correct user from the @ list instead of the wrong one as you missed the correct one in your post above
@Andar Seriously? ...Man. I am too dumb to be left alive lol.
Thanks for the heads up... I didn't realize I was wrong.
Thanks for the heads up... I didn't realize I was wrong.
Original thread: https://forums.rpgmakerweb.com/threads/i-want-my-npc-to-stay-in-location-even-after-i-entered-and-exited-a-house.145400/