We've had a report of an issue with Valkyrie: Sacred Feathers S which is tricky to reproduce, because on-paper it shouldn't be happening.
To give a really brief overview of the problem, at the end of each wave of enemies I call a Common Event called WaveEndCelebration; this does a bunch of stuff in order
However, we've had a problem where a player sees the celebration, but the Common Event doesn't complete. It's like the CE gets to step 5 but doesn't continue on to do the rest. There are no "jump to labels" or anything; the Common Event itself is quite simple, so there's no clear reason why this is happening.
The player ends up stuck in a situation where the game continues, while the camera's in the wrong place and the HUD image remains onscreen.
So, enough with the specific example. What I wanted to ask is about order-of-execution.
I know that in MV, if you have 2 parallel events, they execute like-a-zipper, i.e. event A runs a line, B runs a line, A runs a line, B runs a line... They don't run whole pages at once. This is why you should be cautious about their use of variables/switches because two parallel events can execute on top of each other.
But how does it work when you execute a common event from a parallel page?
Does the resulting common event run like-a-zipper too? Or will it complete the entire common event?
I ask this because I know there's some weirdness in MV to do with running multiple common events on one frame, like I think it discards some? I can't remember the specific issue but I remember there was something said about this a while back.
I've been totally unable to reproduce the issue, so right now I'm tracking down theoretical causes. I guess I'm looking for any reason why a CE might "crash out" like this and simply stop.
Can anyone clarify how this is supposed to work?
To give a really brief overview of the problem, at the end of each wave of enemies I call a Common Event called WaveEndCelebration; this does a bunch of stuff in order
- make the player invulnerable
- move the camera
- play an ME sound
- show a "wave complete!" HUD image (i.e. set its opacity to 255)
- Wait a bit
- Hide the wave complete HUD image
- Move the camera back to default position
- Make the player vulnerable
However, we've had a problem where a player sees the celebration, but the Common Event doesn't complete. It's like the CE gets to step 5 but doesn't continue on to do the rest. There are no "jump to labels" or anything; the Common Event itself is quite simple, so there's no clear reason why this is happening.
The player ends up stuck in a situation where the game continues, while the camera's in the wrong place and the HUD image remains onscreen.
So, enough with the specific example. What I wanted to ask is about order-of-execution.
I know that in MV, if you have 2 parallel events, they execute like-a-zipper, i.e. event A runs a line, B runs a line, A runs a line, B runs a line... They don't run whole pages at once. This is why you should be cautious about their use of variables/switches because two parallel events can execute on top of each other.
But how does it work when you execute a common event from a parallel page?
Does the resulting common event run like-a-zipper too? Or will it complete the entire common event?
I ask this because I know there's some weirdness in MV to do with running multiple common events on one frame, like I think it discards some? I can't remember the specific issue but I remember there was something said about this a while back.
I've been totally unable to reproduce the issue, so right now I'm tracking down theoretical causes. I guess I'm looking for any reason why a CE might "crash out" like this and simply stop.
Can anyone clarify how this is supposed to work?