Event that should never reappear ever again

Hello there, people ! I have a question, i wanna create an event that shall only appear ONCE so my question is : How do i do that ?

The event would be a basic combat encounter with some aggression, but i want to make sure that this event will only be done once. Do i have to create a variable for it ? (Like a variable to check if that event have already been done or not ?) or is there any way to make it simpler ?
put a second page set to self-switch condition, switch it on before cutting to the battle, and it should disapper when the battle comes back to the map.
I'm gonna try that ! Thanks ! Lets see if i succeed on first attempt 😀
I dont think you can flip self switches during the battle scene. So either do it last thing before the battle, or first thing after the battle.

The event disappears as soon as you flip the switch, which you can do at any time during the event. The event disappears, but it keeps running till it meets the end of the page... (unless it is a parallel event. But that seems unlikely for this anyway.)
So i'm actually working on it, but the problem is ... The path for the player to walk is wider than just 1 tile, how do i set up the event to be triggered on multiple tiles instead of just 1 ? Do i have to use the regions for that ?
You can either use multiple events to cover the group where it triggers, or use a plugin that expands the reach of a plugin.

If you use multiple events, you have to use a regular switch though, not a self switch. And if the original event has an image, make sure all the other do not. Make the events "below player" and have "player touch" as trigger.
So i did the thing, but ... The event still triggers if i change map and come back. Even with the flip switched ON.
put an empty page to load with the switch on.
there's no way to "ignore" an event by positive switch.
positive switches only work for events that'd otherwise be invisible and only run WITH that switch.
Finally got it to work. You forgot to mention the conditions ... Explanations were incomplete 🙁

Still ! It's now done and i can work on the other things i know how to do around this event !

Thanks for the help, i think i would have still lost like 1H30 figuring this out on my own 😀
Finally got it to work. You forgot to mention the conditions ... Explanations were incomplete 🙁
Nah, it was in the very first reply. It was the first thing you were told. 😛 hahaha.

It's ok, you have missed it. Happens to the best of us.

Glad you got it solved though.
Oh my god ! You're right. SELFSWITCH condition. DAMMIT ! I'm sorry, English isn't my first langage and i must admit when it touches specifics and technical terms, it instantly become extremly hard -_-

*Bowing-Down*

May the lords of RPG Maker still bless me nonetheless ! 😀
Whaha. It's ok. No worries. I'm just the kind of prick that finds it funny to point that kind of thing out.
Whaha. It's ok. No worries. I'm just the kind of prick that finds it funny to point that kind of thing out.

Trust me, i appreciate it ! I don't want to look like a dick while i'm just a ing dumbass y'know ? XD
Just to clarify one thing. You can use Self-Switches for any Event and you can turn them on or off with a script from any Event. Here is the example from my Research Notes. I use this all the time.

$gameSelfSwitches.setValue([47, 1, 'A'], true);

47 = Map ID

1 = Event Number on the Map

A = Which Self Switch

True = On

False = Off

Scripts are case sensitive.

So, using this, you can manage Self-Switches for any Event on any map from any other Event. Very handy.

But using the same regular switch for multiple events is more efficient. I just wanted to mention the script option in case you hadn't seen it yet.
You can't use a self switch of another event in the page conditions, though.

They all need that second page
Just to clarify one thing. You can use Self-Switches for any Event and you can turn them on or off with a script from any Event. Here is the example from my Research Notes. I use this all the time.

$gameSelfSwitches.setValue([47, 1, 'A'], true);

47 = Map ID

1 = Event Number on the Map

A = Which Self Switch

True = On

False = Off

Scripts are case sensitive.

So, using this, you can manage Self-Switches for any Event on any map from any other Event. Very handy.

But using the same regular switch for multiple events is more efficient. I just wanted to mention the script option in case you hadn't seen it yet.

I'm sorry, i didn't understand anything. I lack experience with the software 🙁
You can't use a self switch of another event in the page conditions, though.

They all need that second page
Yes, sorry. I misunderstood what you were saying. I was saying they could all have the 2nd page with Self-Switch A that needs to be turned on. Which is why I said a regular switch would be easier.
@ZombieKidzRule I'd suggest recommending @Mac15001900's scripting shorthand plugin:

Makes it easier to use self switches as a plugin command.

@Jeenah Now that you have the software, you may want to make sure you do the tutorial that's in it, and revisit some of the videos you watched while actually doing it in the program. Turning off an event with a second page that has conditions should be covered by pretty much every tutorial.

Good luck with your project!
@ZombieKidzRule I'd suggest recommending @Mac15001900's scripting shorthand plugin:

Makes it easier to use self switches as a plugin command.

@Jeenah Now that you have the software, you may want to make sure you do the tutorial that's in it, and revisit some of the videos you watched while actually doing it in the program. Turning off an event with a second page that has conditions should be covered by pretty much every tutorial.

Good luck with your project!

That's the thing ...

Some i've followed for launching a combat encounter just like mine didn't mention the conditions and switch AT ALL. So the event would repeat itself everytime (Which by the situation of said tutorial, would be illogical).

In my opinion, and i've been teaching a lot things to other people, especially in the roleplay community : You don't brazenly explain something and just show people how the base works. You show them the variations that can come from said base knowledge, because they're just gonna be confused once they put it into practice.

You wont teach people how to remove a wheel without teaching them how to put it back in. Because there is a way to do it too, and some vehicles have their own variations, which need to be talked about. (That was just an exemple), but its the general feeling i have from watching those tutorials.

Anyway. I'm gonna continue on this journey. Now that this first encounter is done, base dialogue is done. I just have to add a fading animation, add a soundeffect, and give freedom to the player again once its over.
So, i'm coming again. I have a question about this event.

Is there a way to make the duration of the fadeout longer (Screen staying black for more time) ?

or my encounter :

-> Main character goes into town. Gets aggro'd by two angry people.
-> Combat.
-> Once combat done, people crying they got their butt kicked, and then run away with a running sound effect with fade-out/fade-in after (I would need the fadeout to last around 1 second, or even 1,5)
-> Then main character monologuing.

Original thread: https://forums.rpgmakerweb.com/threads/event-that-should-never-reappear-ever-again.169833/