Event npc model randomly changing

Hi, thats actually the first time ive ever done a post on this site so if i miss something or i wrote smth in excess let me know ╰(*°▽°*)╯

Im trying to create a short event where a kid is training by jumping and running
However if i make the kid stumble while hes in the jumping/at the end of the small path he has to make, his damage model changes

i dont know what to do, if i make the kid stumble while hes running to the other side everything is fine


version 1.8.0
Sounds like a direction facing issue to me.

Does the problem happen in only one direction or all directions?

Going off your last screenshot it looks like you may have triggered the switch change when it was facing left(if you're using the default sheets, which it appears you are).

Also, why are you turning up 4 times in a row?
Sounds like a direction facing issue to me.

Does the problem happen in only one direction or all directions?
Doesn't happen when facing south or north, only left or right
How do i fix?
Also, why are you turning up 4 times in a row?

Making sure the kid looks ahead towards a brilliant future (will remove asap, ty)
Looking at the sheet, you can see the image you want is in the "facing down" top row, whereas the one you're getting is in the "facing left" second row.

1720753961763.png


So I would try putting a move route command for that event to face down before the switch that changes the event page.
So I would try putting a move route command for that event to face down before the switch that changes the event page.
that fixed the issue when he goes face down, but now everytime someone interacts with the event from north left or right the model changes to one of the other 3 kids

the only time it doesnt change its when i interact from south (+ i had to remove direction fix from the tab to make it stay the correct model while no1 interacts)
That little cropped screenshot of a movement route tells us nothing. We can't see where it's happening or what's going on around it.

If that's what you added because of my suggestion above, I don't know why it has a Wait command first.

Without seeing screenshots of the other kids, we don't know which cels of the sheet it's going to instead.

At this point, I think the easiest thing to do might be to just use a script call to specify the correct cel.

Inside the move route before the self switch, delete the Turn Down command.

Replace it with the script call
Code:
this.setDirection(2); this._originalPattern = 2; this.resetPattern();
Your easiest solution is to just copy the entire sprite you want(which ever frames you need) into another sheet placing the desired graphic in all four direction slots. Then facing direction is a moot point.
Replace it with the script call
Code:
this.setDirection(2); this._originalPattern = 2; this.resetPattern();
keep changing
if you need anything else lemme know, sorry if i cropped that badly, didnt think of it
Your easiest solution is to just copy the entire sprite you want(which ever frames you need) into another sheet placing the desired graphic in all four direction slots. Then facing direction is a moot point.
can be a solution but i can't do that with each one, i might aswell figure out the issue and solve it/ go around it
Per my instructions before, that move route should've been before the Self Switch command - did you try putting it there?
Per my instructions before, that move route should've been before the Self Switch command - did you try putting it there?
i did try, nothing changed

Original thread: https://forums.rpgmakerweb.com/threads/event-npc-model-randomly-changing.170211/