Events doing weird stuff when using switch to show certain poses

Alright, here's a headscratcher for y'all.

I got pretty big character sheets (8 blocks for 1 character, various poses), that's why I was trying to use events instead of changing the actor image in cutscenes. (Since you can't select a specific frame with actor image change)

Now this did work at some point, and I have no idea why it stopped working, but right now, there's all kinds of weird things happening whenever I try to let the event strike a pose.

The event starts out with the regular walk frame:
1667874343583.png


After some steps it's supposed to turn into a different image:

1667874384005.png


1667874426487.png


(The character event is not the controlling event, just to be clear)

Now here's what it actually does in game:
Dunstan-min.gif

See that pose it does first? There's no turn command or anything in the event, yet it still does it.
1667875978279.png

For some reason it jumps to the other frame first? But that's not all. The other poses in that particular cutscene work:
Dunstan-min(1).gif


1667874733898.png

If RM just always went for the idle frame first, why doesn't it do it here?

1667874770483.png


The eventing looks the same, no turning, just the switch for the correct page:
1667874886600.png


But that's not all. In another cutscene, I'm using an even for the player again which I have set up with all the different poses on switches so I can re-use it in cutscenes. I teleport it to the players location, make the actor invisible, turn on the corresponding switch for the pose event and that should work, but it doesn't. Instead it goes even more weird:

1667875004804.png


The pose in question:
1667875456727.png


The part in the event:
1667875499335.png


What it actually does ingame: (The direction in which you interact with the npc doesn't matter, animation shown is always the below)

Dunstan.gif


This time it even shows 2 frames of a completely different block and direction on the sheet.
1667875230234.png


I don't know what's goin on anymore, I've tried disabling plugins after plugins in hopes of fixing it. I've tried using turn commands, diabled walking, enabled direction fix, it all does nothing.

The sheet are all correctly sized and work otherwise. Please send help, I'm losing my mind.
MV does this to me too with other picture-related events. My current solution is VERY bandaid and it's pretty much just fiddling with the Wait command (in and out of the Set Movement Route command), because a few frames apparently does make a slight difference.

While Wait isn't really The Solution, I hope there's better answers for this.
Now here's what it actually does in game:
View attachment 244694
See that pose it does first? There's no turn command or anything in the event, yet it still does it.

(Caveat: I don't own MV or MZ, so take my advice with a bit of salt)

I think this happens because the last visible frame from the walking animation before the switch activates, is the left-most one, and once the switch is turned on, the engine displays the corresponding frame on the new sheet. And it does so from the topmost row.

I assume you want the character to change into the "thinking" pose with closed eyes and crossed arms, all of a sudden from the walk, right? If that's the case, you may want to add a "Wait" command for two or three frames before the switch gets thrown. This will let the engine move to the center frame of the walking animation before changing sheets.

However, let me suggest that it will look a bit more natural if the character stops walking and stands still for a second or two before turning down, then switching to the "thinking" sheet. What direction is the character supposed to be facing before the switch gets thrown?
(Caveat: I don't own MV or MZ, so take my advice with a bit of salt)

I think this happens because the last visible frame from the walking animation before the switch activates, is the left-most one, and once the switch is turned on, the engine displays the corresponding frame on the new sheet. And it does so from the topmost row.

I assume you want the character to change into the "thinking" pose with closed eyes and crossed arms, all of a sudden from the walk, right? If that's the case, you may want to add a "Wait" command for two or three frames before the switch gets thrown. This will let the engine move to the center frame of the walking animation before changing sheets.

However, let me suggest that it will look a bit more natural if the character stops walking and stands still for a second or two before turning down, then switching to the "thinking" sheet. What direction is the character supposed to be facing before the switch gets thrown?

Well, the pose only has a downards facing sprite, so I guess I could turn him downwards, then wait some frames. I'll try this and see if it fixes the issues across the board.
Doesn't really explain why on earth it's using an entirely different block of frames in the second example.
Good luck, hope it works for that specific scenario. (I'd be happy if it turns out I made the right call, heh, heh.)
Good luck, hope it works for that specific scenario. (I'd be happy if it turns out I made the right call, heh, heh.)
I did a quick test with the first example. It seems to work if I put at least a 10 frame wait before hitting the switch.
Doesn't explain why the other poses in that particular cutscene work without it, or why it's sometimes using completely different blocks of frames than the selected one...

Update:
No dice on the second example seen above. Even when facing the event the correct direction and waiting 20 frame before hitting the switch, the event still shows this out of whack 2 frame animation that's not even on the same block as the selected frame.
Even when facing the event the correct direction and waiting 20 frame before hitting the switch, the event still shows this out of whack 2 frame animation that's not even on the same block as the selected frame.
Just to double check, are you sure the corresponding switch is triggering the correct event page? Judging by the screen shots, you have a lot of event tabs, it could easily be a clerical mistake on your part.
I had different issue, as "wait" for 10-30 frames is some of a buffer to
make the process better in what to do.

I also use a plugin, if you dont set a wait, it act weird or not all anymore later,
so a wait of 1-2 is required to process.

in my Ocarina for switching, a buffer of at least 15frames is required to work
correctly.

so in your case the wait frames (10) might work, but I still recommend 15 to 25 at least.
to process the pose correctly without errors.
Just to double check, are you sure the corresponding switch is triggering the correct event page? Judging by the screen shots, you have a lot of event tabs, it could easily be a clerical mistake on your part.
The switch that get turned is in the screenshots. But yeah, I quintuple checked by now 😀

I since got the info that this problem might come from the fact that MV is trying to use a frame that is not the idle frame. Apparently that is a known issue.
Untick the "Walking" from the event page (where you need the images to be fixed).

Edit: Removed the link to my game tutorial on Itch.io at @MushroomCake28 request.

If nothing works, put "the same image in all frames" and test it again.
Agreed - if you don't have Walking on, it should always show the center cel.
Untick the "Walking" from the event page (where you need the images to be fixed).

I have explained this in more detail in the "Events lesson" if you want to check it out. Just talk with the guy that resembles a Final Fantasy's Red Mage. 😉

If nothing works, put "the same image in all frames" and test it again.
The walking was only ticked off for testing in hopes it might fix it. I was desperate, okay!? xD

Anyway, seems like waiting for some frames fixes the issue mostly. It's annoying and hard to work with, but I guess that's how rpg maker is huh.
The walking was only ticked off for testing in hopes it might fix it. I was desperate, okay!? xD

Anyway, seems like waiting for some frames fixes the issue mostly. It's annoying and hard to work with, but I guess that's how rpg maker is huh.

Well, it happens because the character (from the system point of view) is still walking. So the system will replace the old frame by the new corresponding walking frame. That's why I suggested "repeating the same sprite" in all frames of the spriteset if ticking the "Walking" from Options didn't work.
Well, it happens because the character (from the system point of view) is still walking. So the system will replace the old frame by the new corresponding walking frame. That's why I suggested "repeating the same sprite" in all frames of the spriteset if ticking the "Walking" from Options didn't work.
Yeah I see that. That'd be an unreasonable amount of work, considering just how many sprites and poses I have.

I'll try and work around with the wait command, as it seems to be working for now.

Original thread: https://forums.rpgmakerweb.com/threads/events-doing-weird-stuff-when-using-switch-to-show-certain-poses.152538/