Set Opacity on non-moving event causes walking/stepping animation

Hey all, I'm pretty new to RPG Maker, so this may be something stupid simple I'm just not grasping, but I'm having some graphical glitches that make a section of my game look awful. It's just a test game, to get to know the system, so this isn't super important, but for future games, I might use something like this, so figuring it out would be great.

So first, the problem. I have an event where a character reads a note on the wall, and a ghostly event spawns. Three characters are supposed to appear in the room to the left of the player, fading in from 0 to 128 opacity. This works fine, except that halfway through the animation, each of the NPCs takes a step.

Video:


Image of code:


All three characters have the same movement routes, and the same options. I tried setting Walking OFF before each movement, but the animation still takes a step. Not sure what I'm doing wrong at this point. Any help would be appreciated.
I have no real clue but the first thing i would test i inserting Eventcommand Wait with 1 or 4 Frame after
Set Event Location Doctor.
I have the feeling that in this case the Teleport and the Set Moveroute influence each other in a unwanted way when executed in the same time frame.
This could be totaly wrong, but welcome to the Bug hunt 😅.

Edit:
In your Moveroutes, change the Picture of your Events, before you make them Visible in the Moveroute. Make it the 1st command in there, not the 2nd one. This was just another Guess, sorry i dont have time to rebuild it.
I think you're seeing something related to the issue discussed in this thread:
https://forums.rpgmakerweb.com/inde...-frame-pattern-on-a-placeholder-event.105464/

In your particular case, here's an alternative suggestion: use event page conditions & a switch instead of Set Event Location & Set Image. You can put the people right next to the bed where they should appear, with their images assigned as you would for a normal NPC. Then you can set the Condition for each of those events to (for example) "Switch 1 is ON": that should make the events "not there" unless that switch is on. Then you can replace the Set Image thing in your move routes with "Switch 1 ON". 🙂
My English was so stupid in that thread and i totaly failed to understand anything.
:2k33:

But i like your solution in there.
If I've understood correctly...I'd suggest assigning the event a blank character spritesheet rather than a tile or (None). Should retain the frame when the image is changed.
doesn't the engine consider the middle frame of the trio to be "both feet together"?
if that's the case, then going to one of the stepping frames might be "going from 1 to 0" (or 2)

computers reset to "0", so it might be resetting itself and changing the frame.
Check the image on the actual events that are fading in and out, and make sure they're on the middle frame of the direction they're facing.
Check the image on the actual events that are fading in and out, and make sure they're on the middle frame of the direction they're facing.
You can't choose the frame when you select an image in the move route.
Check the image on the actual events that are fading in and out, and make sure they're on the middle frame of the direction they're facing.

This isn't the problem. I'm following the advice of this blog post (http://blog.rpgmakerweb.com/tips-and-tricks/events-arent-npcs/) and using blank events to represent the different NPCs in my scene. I move them where I need them, and set their image at that time. I'm not allowed to select the specific frame, but all of the frames for the NPC.

I think you're seeing something related to the issue discussed in this thread:
https://forums.rpgmakerweb.com/inde...-frame-pattern-on-a-placeholder-event.105464/

I got it to work with the script code, and a short delay:

upload_2019-9-14_18-13-23.png


It works fine, although it takes a while and feels off. Maybe I can move the three Set Movement Routes above the text, set it not to wait, and write more text in the description. Give the player some time to read, and complete the illusion. Still odd you have to wait close to a 1/3 of a second for a script chunk to run, but oh well. 🤣

EDIT: (corrected a typo) Yes, that worked. Even pushing as quickly through the text as I can, the correct frames are loaded. Thanks for everyone's help and advice. It's greatly appreciated.
In that script call, I think you could leave out the $gameMap.event(this.eventId()). because the move route is running on the event you want to change, so you've already got a handle to the event. I think you could change it to this._originalPattern instead.

You wouldn't need to wait 20 frames - even just 1 or 2 should be plenty (and I'm not sure even that is required - did you test just putting the script call in the move routes you already had there?)
In that script call, I think you could leave out the $gameMap.event(this.eventId()). because the move route is running on the event you want to change, so you've already got a handle to the event. I think you could change it to this._originalPattern instead.

You wouldn't need to wait 20 frames - even just 1 or 2 should be plenty (and I'm not sure even that is required - did you test just putting the script call in the move routes you already had there?)

Yes, I tested without any wait, and the NPCs appeared in pose 0, then snapped into pose 1. Waiting 10 frames also had the same effect, although it was less pronounced. Either way, I've resolved the problem by moving things around. I'll remove the extraneous code too...I'm extremely new to this, and just copied the code in the linked thread.
You would need the full script line if your commands were run on one event but you wanted to change another event's sprite, and were not using a move route to do it.
@Shaz - actual event image, not the move route.

EDIT: To clarify, I now realize there is probably no selected image on the event that Nychold is changing the image of, but I've had a similar problem in the past where I used a blank sprite sheet of the same size of the image I was changing to and selected the "middle" frame of the event image (which was blank - but where the middle frame would be). It remedied the issue in my case, so I thought it was worth a shot.

Original thread: https://forums.rpgmakerweb.com/threads/set-opacity-on-non-moving-event-causes-walking-stepping-animation.113292/