Hi, having too much fun making this game but I came across something I didn't expect. I have events in my overworld and the dungeons. However whenever I leave any map and the go back into it, All events that were completed are all back. For example, I have 2 NPCs on the overworld. One gives you a key item and the event erases after you get the key item and the other makes the NPC join your party and the event erases. So I go into a dungeon and when I leave it, both NPCs are back on the overworld. Same with dungeons, all the treasure chests come back everytime you go into the dungeon. How do I make events a one-time thing that doesn't come back. Setting events to erase when done only works until I return to that same map.
Anyway, it's probably something simple that I'm not aware of. Any help? Thanks :)
Events resetting when returning to map where event was located
● ARCHIVED · READ-ONLY
-
-
I believe the "Event Erase" command is not permanent, so whenever you re-enter the map, those events come back. What you can do is, at the bottom of your event, set "Control Self Switch A" to "ON". Then, create a new page in the same event and in the left side, click the box stating "Self Switch A". This is one permanent way to do it. :)
"Erase Event" is useful, for example, when you have an autorun event that changes the tint of the map. That way the tint changes every time you enter the map, if that makes sense. -
You need to use switches and multiple pages to store and change events.
If your chest reset, then most probably you made manual chests instead of using quick creation chests - make a right-click on a map, select quick event: chest and after that, check how it was done to prevent resets.
For position-changes, there is a plugin to store the current event position. -
grem333:
Thank you SOOOOOOOOOOOOOOOOO much. That worked. I have no idea why or what the control switches do or anything at all, but YAY, it worked. lol Thanks again.
Andar:
I did make it myself (didn't even remember/know that you can make chests like that) so I'm going to do them with the quick event thing from now on (plus I'll experiment to see if that control thing works on the chests too, so I don't have to redo all the current chests.) Thanks for the useful tip. :)
I have to say, this forum-community is freakin' awesome, so helpful. -
No problem! I recommend reading this if you are new to RPG Maker.
http://forums.rpgmakerweb.com/index.php?/topic/348-switches-and-variables-part-one/
It's for VX Ace, but it should still be similar to MV. It is a great tutorial by Des that explains how switches, control switches, and variables work. You can do a lot of powerful stuff using switches and variables without ever needing to script (which is nice because I can't script at all :p ) -
Even better would be to follow the link in Andar's signature to his blog for tutorials and tips. Although it was written for Ace, many of the functions, as well as event commands and mapping are more or less the same in MV. Spending some time doing that now will save you a vast amount of time and teeth-grinding frustration later on.
-
I will take a look at those links. I kinda figured out variables (needed to in order to get an npc to move out of the way once I possess a key item,) well at least a basic understanding of it. Let's hope I learn something tonight when I read those links. ;) My next step is to figure out how to remove the flashing red screen when you step on damage floors (I want the player to only know that the floor damages them IF they pay attention to what the NPC says. If player spams through the dialogue, then they would not even know that their HP is dropping and if they do notice, they won't know why. I'm doing this cause a buddy of mine never reads a single line of dialogue when he plays RPGs and I figured this would get him good.) lol
-
Haha, I was actually trying to figure out the exact opposite of you! I was using self switches (and multiple pages) but I actually WANTED the event to reset when you return to that map (the events I'm referring to are enemies btw) So, erase event was exactly what I needed (I'm not sure why it hadn't crossed my mind) Anyway, thanks dood!!!