How to stop an event from respawning.

LordKenshin94

Warper
Member
Joined
May 15, 2021
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMVX
Hi all i'm kinda new to all of this. In a certain area I have a new character join my party but when I re-enter the area, the event reappears and the erase event command doesn't seem to fix it. What else should I do?

screenshot.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,934
Reaction score
8,257
First Language
German
Primarily Uses
RMMV
erase event is intentionally only until the map is reloaded.
to make an event vanish completely you'll have to switch it to an event page that has no sprite and is above player.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,141
Reaction score
709
First Language
English
Primarily Uses
RMVXA
What else should I do?
As Andar said, you have to use a condition that will make the event not come back. Erase event is a temporary condition as it will return when you re-enter the map.
Normally self switches are used. But you could use switches or variables but that means you use a condition that may actually be true at some point.
So always use self switches. Then set a new page for the event with no graphics and it can be above player or below, then you won't run into it later. Set self switch [A,B,C,D] on and when you run the event you use the self switch command to turn the switch you selected to on.
The event pages process from right to left. So the more restrictive pages should go on the right to prevent the other pages from running when you don't want them to.
So your event page one is that you want to happen and page two is blank with the self switch.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
702
Reaction score
307
First Language
english
Primarily Uses
RMMV
(^ in short)
just change "erase event" into "control switch" and add a new page with the switch as a condition,
and check the priority so the event isnt an invisible wall.
(priority should already be default to "below character" when there is no sprit selected)

use "self switch" when it controls the same event.
normal "switch" or "variable" when it can effect other events or it can become reset/changed by another event.
 
Last edited:

KaitlynKitty

Villager
Member
Joined
Apr 6, 2021
Messages
9
Reaction score
1
First Language
English
Primarily Uses
RMMV
I'd recommend setting the condition to if the player has that character in their party, unless they're going to be removed from the party some time later.
 

Latest Threads

Latest Profile Posts

Figured I would start posting what I am working on here. Anyways, a quest system plugin I have been working on:
20mgjmZ.png


What features would yall like to see in a quest system?
Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:

Forum statistics

Threads
112,502
Messages
1,068,743
Members
146,176
Latest member
MissOclock
Top