Specific event problem

Testtubebaby

Wizard of the woods
Member
Joined
Oct 31, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Hello folks, I've got a specific event problem as you might have guessed from the title.

My issue is that I've got an event that runs as a parallel process in the background that runs on a wait condition, but if the player enters a different map while the event is still waiting to complete its wait condition, then the event won't turn off the required variables/switches to reset to its default state, which causes some problems. Namely, the event will begin playing again the moment the original map is entered again, but will play from the beginning of its wait cycle.

If you get what I'm trying to describe, I would love some opinions or feedback on how to get it to reset even while it's going through a "move cycle", if that's possible. I was originally thinking of using "if" arguments, but VX Ace doesn't have that option.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,239
Reaction score
1,232
First Language
Spanish
Primarily Uses
RMVXA
everything runs in series.
nothing is ever really parallel.

if you need to have a watch on something in the background while you change maps, you'll probably need to script it above the scene object (in code terms) so that any scene can read it, and it remains active when you change scenes.
if you can't do that, try making it a set of serial processes: have each individual action have a beginning and an end.
once you manage to have that, running them in a way that feels parallel is just a matter of speeding things up.
 

Testtubebaby

Wizard of the woods
Member
Joined
Oct 31, 2020
Messages
19
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Thanks for the idea.

I did find a workaround that involved using variables and manual value handling (which I had to place in every transition point on the map), and that seems to have solved my issue.

On that note, I did find that when I was trying to use a specific switch to control this, it froze my character during the wait process even though the event is a parallel process event, meaning that my character should have been able to move around, but was unable to. The switch in question was switch 40. As for why it caused this issue, I have no idea. I was never previously assigned to anything.

That being said, the event in question uses several layered switches and variables to produce my desired results. So maybe some wires were getting crossed.

Just figured I'd put it out there.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,239
Reaction score
1,232
First Language
Spanish
Primarily Uses
RMVXA
That being said, the event in question uses several layered switches and variables to produce my desired results
there was a procedure called "handshaking" back in the days of the parallel port for PC: the data would only be exchanged between end points, after an exchange of signals had taken place.
kind of like:
A: "Data is up"
B: "Ok, reading....... "
A: "Waiting for clear."
B: "Received. Done."
A: "Ok, next data."

if you have something resembling that, that could work.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Oh no. That moment when you try to fix something you modified in your game, like, a year ago but didn't want to fix then, and you now have no idea what you even did. Me right now, trying to figure out why my gold window is over stretched?
LittlePIGGY wrote on atreyoray's profile.
Where are you TT^TT
We need ARP_InGameManual for MZ
Oh my gosh. Thank you, Macy's! Thank you so much! You have made me very happy!
Happy Thanksgiving everyone! What are you thankful for? I'm thankful that I no longer have PTSD, and that I get to enjoy a good meal with my mom and stepdad! It might not be the same as before COVID, but at least I still get to enjoy the holiday!

Forum statistics

Threads
105,550
Messages
1,014,568
Members
137,225
Latest member
Eryndor
Top