Move Route: Change Graphic and Direction at once?

I have a little problem that has been in VX Ace, too.

I have a character animation via character sheets that is so long it takes several sheets. At one point, I need to change the graphic of an event AND its direction. That means I need to, so to speak, change Sheet1-Down to Sheet1-Up.

There is a little delay between the commands for changing the graphic and the one for changing the face direction, which messes up the animation (so the graphic is changed, but the direction changes with, like, 1 frame delay, but it is notable). Therefore, it seems I need to change both at one. Is that possible? If yes, how?

Kind regards! 🙂
With the script call you might be able to change both at once during a move route. Too bad I don't know them :I
Well, to do them both in one shot you'll need to use a little script command:

Code:
this.setImage(filename, index); // Index is the 0-7 for which part of the character sheet. 0 for ones with only one character on them ($ I think is the code for that?)this._direction = 8 // 8 is up. 2 is down, 4 right, 6 left.
Thank you. 🙂 How do I change the actor graphic? I mean, what to replace "this" with?

Ah, nevermind. It probably refers to the player anyway because of the movement command target. It doesn't really work, though. My actor becomes invisible. It's a $ sheet, so I have:

Script: this.setImage("Liak.png", 0)

Script: this._direction = 2
Thank you. 🙂 How do I change the actor graphic? I mean, what to replace "this" with?

Ah, nevermind. It probably refers to the player anyway because of the movement command target. It doesn't really work, though. My actor becomes invisible. It's a $ sheet, so I have:

Script: this.setImage("Liak.png", 0)

Script: this._direction = 2
Script: this.setImage("$Liak", 0)

Script: this._direction = 2

Without .png and $ because it's a $sheet
It worked! 🙂 Thanks a lot!

Original thread: https://forums.rpgmakerweb.com/threads/move-route-change-graphic-and-direction-at-once.47032/