Set a specific image in Movement Route -> Change Image

I'm trying to get a specific Image to show during an event.
I use the Change Image to select a new image for an event (character)
I specifically want the top-right one to be used, but RPGM tries to use the entire set of images. This results in a blank image when playtesting.
Schermopname (70).png

How do I get specifically the top-right image to be used?
I tried the following:

JavaScript:
this.setPattern(2)

... but it jitters for some weird reason.

EDIT: Tried some more but no matter what I do, it will always try to revert to Pattern = 1 (the middle one).
I tried the following:

JavaScript:
this.setPattern(2)

... but it jitters for some weird reason.

EDIT: Tried some more but no matter what I do, it will always try to revert to Pattern = 1 (the middle one).
Hmm.. that did nothing for me.
Still an empty image.
If it’s empty, I’d wager the event is not facing down at the time of the Sprite change? You should at least see one of the three damage sprites.
So I think I got it to work, but perhaps you’d like to experiment this by creating an event from scratch:

The base sprite of the event needs to face down with its left leg out.
Then, in the movement route, change picture to the “downed” sprite.
Instead of using the Change Image command, set a self switch to go to a new event page.

On that event page, the event image will allow you to select a specific cel of the sheet. Check Direction Fix to make sure it doesn't accidentally change.
So I think I got it to work, but perhaps you’d like to experiment this by creating an event from scratch:

The base sprite of the event needs to face down with its left leg out.
Then, in the movement route, change picture to the “downed” sprite.
I think it works now.
Its definitely finnicky, but it works well enough.

Thanks for the assist 🙂
Instead of using the Change Image command, set a self switch to go to a new event page.

On that event page, the event image will allow you to select a specific cel of the sheet. Check Direction Fix to make sure it doesn't accidentally change.
Oh.. that can work as well.

The current solution works well enough for now, but I'll remember this one for future reference/
Thanks!
I think it works now.
Its definitely finnicky, but it works well enough.

Thanks for the assist 🙂
Graag gedaan!

It definitely is weird that even with this.setPattern(2) it will still revert to Pattern(1)…
no matter what I do, it will always try to revert to Pattern = 1 (the middle one).
Characters reset to their original pattern once their "stop" counter elapses. I recommend this instead:

this._originalPattern = 2; this.resetPattern();
I posted a more detailed explanation here:
Hmm.. that did nothing for me.
Still an empty image.
Each character block comprises a number of rows (down, left, right, up) and patterns (step left, middle, right). You need to specify both of these to target a specific cell/appearance.

Typically, though, it is best to do as Turan suggested and make a new event page, especially if you want the change to persist after the player leaves the map.

Original thread: https://forums.rpgmakerweb.com/threads/set-a-specific-image-in-movement-route-change-image.158262/