How to call out a specific frame in a sprite sheet?

All of the things I found didnt work, numbers would appear all over the place XD

I have this character sprite, simple enough. I just need to be able to, in a move route, specify the exact frame I want. It is going to rotate through numbers and you need to write it down and use it elsewhere.

Naturally up/down/left/right gives me everything on the left hand side just fine. Its the middle and right side frames I need to call specifically. And given I want to do this in other parts of the game with much longer combinations, I'd rather not rely on multiple pages.

I've tried things like

this._originalPattern = 1; and the numbers would kind of just go all over the place despite only telling it to change once. So is there anything like that, that just calls out a specific frame and KEEPS it there? Since it seems to change the frame but always reverts to something else immediately after.

!$Monitor-Numbers.png



1732435941655.png
current pattern refers to originalPattern to load the first frame, but then jumps between frames.
you need to find the call to current pattern, or set it to not stepping.
I can't remember the structure from memory, but I worked with something similar to yours a couple months ago.
find the flow between current pattern and original.
1. Are you sure you don't have "stepping" turned on in the event settings?
2. Assuming that is not the case, you would want to have the following in a single script line:

this.setDirection(DIRECTION); this._originalPattern = PATTERN; this.resetPattern();

Where DIRECTION is 2 for down, 4 for left, 6 for right, and 8 for up.
and Where PATTERN is 0 for the left column, 1 for the center column, and 2 for the right column. The issue is that every row in the move route takes at least a single frame to execute, so if you have...

turn left (number 4 on your sprite sheet)
this._originalPattern = 1 (number 5 on your sprite sheet since it follows "turn left")
turn up (number 0 on your sprite sheet)

... you will see 5 flicker for a split section because of this behavior. Put them all in a single script call, and they will be executed simultaneously.
1. Are you sure you don't have "stepping" turned on in the event settings?
2. Assuming that is not the case, you would want to have the following in a single script line:

this.setDirection(DIRECTION); this._originalPattern = PATTERN; this.resetPattern();

Where DIRECTION is 2 for down, 4 for left, 6 for right, and 8 for up.
and Where PATTERN is 0 for the left column, 1 for the center column, and 2 for the right column. The issue is that every row in the move route takes at least a single frame to execute, so if you have...

turn left (number 4 on your sprite sheet)
this._originalPattern = 1 (number 5 on your sprite sheet since it follows "turn left")
turn up (number 0 on your sprite sheet)

... you will see 5 flicker for a split section because of this behavior. Put them all in a single script call, and they will be executed simultaneously.
Bam, yes, that worked. What you said makes so much sense. I was seeing exactly that, the split frames. That's why it looked like it was rapidly moving between the numbers on the way to the one I wanted.

I made myself a quick reference sheet so I can easily match what two numbers I need to make any number appear. Thanks so much!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-call-out-a-specific-frame-in-a-sprite-sheet.173430/