Event doesn't get triggered

Joined
Sep 15, 2017
Messages
63
Reaction score
13
First Language
Telepathy
Primarily Uses
RMVXA
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!
 

Attachments

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
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.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
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 :)
 
Joined
Sep 15, 2017
Messages
63
Reaction score
13
First Language
Telepathy
Primarily Uses
RMVXA
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.
 
Joined
Sep 15, 2017
Messages
63
Reaction score
13
First Language
Telepathy
Primarily Uses
RMVXA
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!
 
Joined
Sep 15, 2017
Messages
63
Reaction score
13
First Language
Telepathy
Primarily Uses
RMVXA
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.
 
Joined
Sep 15, 2017
Messages
63
Reaction score
13
First Language
Telepathy
Primarily Uses
RMVXA
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.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
[dpost]MiraclesHappen[/dpost]
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.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
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?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
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.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
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...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top