erase event how

yes, i know the command erase event. a chicken talked to the player, then came a fight, after that, erase event. the chicken was located in a map which was the inside of a house. you can walk into the house again, but even if i put the command erase event in the event, the chicken is there when i come back! i want the chicken gone for good. how?
Erase Event only lasts until you leave the map - when you come back, it will be back again.

If you want it gone for good, you have to turn on a self switch, then add another page conditioned by that self switch, with no sprite and no commands.
RM2k(3) doesn't offer self-switches so you have to use normal ones, but the principle is the same.
wth do i need to do
Quick guide to map event pages:
  • When editing an event, it is possible to create multiple "pages" (see buttons at top).
  • An event only has one page active at a time.
  • Which page is active depends on the page conditions, seen on the left when editing.
    • Pages are checked from highest to lowest (e.g. 3 -> 2 -> 1)...
    • ...the first page checked that has all its conditions met will become active.
  • If a page has no conditions and no "higher" pages are active, that page will become active.
    If no pages have their conditions met, the event will not appear (until/if that changes).
This means you can make an event with two pages, like Shaz describes, e.g.
  1. Normal event, no conditions, turns on switch 123 after interaction;
  2. Blank event with no image, condition: switch 123 is ON.
Originally, the switch is off and page 1 is active. After interacting, the switch turns on and page 2 immediately becomes active. Since page 2 has no image, the event will "disappear". Switches only change value when you tell them to, so this change will last as long as you like~
wut..................................?
@ygemk your comments are not helping anyone to assist you.

Do you know ANYTHING about making events and using switches? Have you looked at any tutorials or the help file (assuming 2K3 has a help file).

If you can't follow the above, show us what you've done (via screenshots) so we can tell you what you need to fix.
Here is a rough visual demonstration of what @caethyril and @Shaz tried to tell you:
(Note: To create more event pages, click on "New Page" which is found to the right of the event name)

Page 1 of the event:

1. This page has the graphic of the chicken you want to talk to.
2. Interacting with the chicken starts the event and shows the message
-> Obviously, the message is just for demonstration purposes, you can put any event commands in here, like the battle you wanted to have.
3. After everything is done, a switch is turned on to flip over to Page 2 of the event.

Page1.png


Page 2 of the event:
This page is has the condition of a switch being turned on (in this case "ChickenTalk")
We turned on this switch on page 1 of the event

1. This event page can ALSO have the graphic of the chicken
(or the leave the graphic blank to make the event "disappear forever")

2. Interacting with the chicken does NOTHING as the event page is left empty

Page2.png
thanks
Is there a better way of doing this? I mean, having a switch for each event just seems a bit... uneficient. Maybe a script that completely erase the event or something.

@Protoix, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


RM2k3 does not have any scripts. If you have any questions regarding events in MV, please post a new thread in the actual MV Support forum.

Original thread: https://forums.rpgmakerweb.com/threads/erase-event-how.134809/