Event doesn't get triggered

Hello everyone!

I've been using RPGM XVA for a while so this is the first time I encounter such a problem.

I have an event which gets triggered when the player walks on a specific point in the map.
If I start a new game, the event works perfectly but if I continue a game, the event immediately jumps to the second event page which can only be activated when the Self Switch A is ON.

Priority: Below Character
Trigger: Player Touch

Please have a look at both events attached (Event1 and Event2).

Does anyone have any clues about why this happens?

So far I have tried deleting the event and making a new one but I have he same problem. I've also tried to change the location of the event but same result. Interestingly, other events which have the same trigger type work flawlessly.

Thanks!
First Event occurs, and sets the Self Switch ON.
Then the second Event Page can be triggered by pressing the Action button.

If you save your game, Self Switch states are saved.
Thus setting this to Self Switch A ON on the first page, is exactly what you describe. This event page 1, is guaranteed to be run only ONCE.

Maybe If you want to describe us what you want to do might help us help you out more efficiently.


For now, you should try playing this:

https://forums.rpgmakerweb.com/index.php?threads/free-tutorial-game-for-vx-ace-events.29370/

Even very experienced users had something to take from it, so it will worth your time.
If a New game works, then your event works.
Don't use Continue if you've made (any) changes, things might not work, as you can see.
It's likely that in your saved game, that event had been activated and the self switch turned on. It could have even been a completely different event with the same id, that you deleted and recreated to do something else.

It's all working the way it's meant to work 🙂
First Event occurs, and sets the Self Switch ON.
Then the second Event Page can be triggered by pressing the Action button.

If you save your game, Self Switch states are saved.
Thus setting this to Self Switch A ON on the first page, is exactly what you describe. This event page 1, is guaranteed to be run only ONCE.

I thought about that that's why I created a new event to test if the problem persisted and it did.

Maybe If you want to describe us what you want to do might help us help you out more efficiently.
You can see both events in the files I've attached above.


For now, you should try playing this:

https://forums.rpgmakerweb.com/index.php?threads/free-tutorial-game-for-vx-ace-events.29370/

I know how to use events.... I just don't understand why this happens...

Even very experienced users had something to take from it, so it will worth your time.
Sure! I think I've watched it already.

If a New game works, then your event works.
Don't use Continue if you've made (any) changes, things might not work, as you can see.

First Event occurs, and sets the Self Switch ON.
Then the second Event Page can be triggered by pressing the Action button.

If you save your game, Self Switch states are saved.
Thus setting this to Self Switch A ON on the first page, is exactly what you describe. This event page 1, is guaranteed to be run only ONCE.

Maybe If you want to describe us what you want to do might help us help you out more efficiently.


For now, you should try playing this:

https://forums.rpgmakerweb.com/index.php?threads/free-tutorial-game-for-vx-ace-events.29370/

Even very experienced users had something to take from it, so it will worth your time.
It's likely that in your saved game, that event had been activated and the self switch turned on. It could have even been a completely different event with the same id, that you deleted and recreated to do something else.

Ok, I'll check that. But I'm pretty sure I didn't use the same ID.

It's all working the way it's meant to work 🙂

Sure! Thanks for now!
If a New game works, then your event works.
Don't use Continue if you've made (any) changes, things might not work, as you can see.

I'm testing the game to see if it works so of course I must use "continue" because this event happens after about 1 hour of playing time.
Ok, I fixed it.

Thank you everyone for your help.
There was probably something messed up with the switches so I just copied and paste the second page of the event into the first page
and used a switch instead of a self switch (because I only want the event to be triggered once). Everything works great now. I think Shaz was right, the saved version very likely contained a triggered version of the self-switch.

Basically, the character gets to a point (the event) where she boards a ship (but it's a fake one, I only changed the actor graphic because there is an inflight conversation). In the event there are the instructions about the direction to follow to get to a specific area (yes, the player drives the spaceship). But I don't want the player to get the same kind of information twice if she accidentally returns to the same event so I put a switch with a new event that tells her that there is no point in going back (all the missions have already been accomplished there).

It works much better this way, sometimes brainstorming with you is the best thing.
Have a great time and thank you again.
Double-post notice: MiraclesHappen
It is, in fact, a quadruple post. If you want to add something, and it is less than 72 hours since your last post and no one else has posted in the meantime, please use the Edit button and add the additional information. Many people type EDIT above the new comment, so that it is clear what has been added.
I'm testing the game to see if it works so of course I must use "continue" because this event happens after about 1 hour of playing time.
You know that you don't have to put your starting map at the very beginning of your game while testing, right?
You also didn't have to change it to use a switch. If that event is the only thing that's affected, a self switch is perfect. You could have just changed it to use self switch C instead of B, or forced it to turn self switch A off so you could do that part of the test.
When you load saved files, it's good to make an Initialization event, a crystal let's say that will on action button set variables to starting state, so you can debug your game easier. Don't forget to remove it later.
Another way to debug easily is to make a teleport crystal on start and then set variables as they should be, then teleport player to the map you test. That way you don't need to save...

Original thread: https://forums.rpgmakerweb.com/threads/event-doesnt-get-triggered.102918/