prevent actors from sliding when selecting them or doing a skill in battle?

so i'm trying to make my own actor animated battler status box thing(similar to omori's) and it's going well so far,
but my issue here is when the actors\battlers do that little "slide forward" move when theyre being selected or doing a skill.
and i'm trying to find a way to make them remain still in place when they do a skill or anything. same goes for the animated enemy in the middle, since i'm using yanfly's animated sv enemy..
(and btw, i DONT WANNA turn off the side view battle option in the system section,, that way my animated actor battle boxes wont appear :-(( )
i'm not sure if i need a plugin for this or not,, but let me know! thank you in advance
I know ive written something for that here in the forums in the past, but id have to dig it up
I know ive written something for that here in the forums in the past, but id have to dig it up
i'll be very appreciated if its found!
so i'm trying to make my own actor animated battler status box thing(similar to omori's) and it's going well so far,
but my issue here is when the actors\battlers do that little "slide forward" move when theyre being selected or doing a skill.
and i'm trying to find a way to make them remain still in place when they do a skill or anything. same goes for the animated enemy in the middle, since i'm using yanfly's animated sv enemy..
(and btw, i DONT WANNA turn off the side view battle option in the system section,, that way my animated actor battle boxes wont appear :-(( )
i'm not sure if i need a plugin for this or not,, but let me know! thank you in advance
t= https://forums.rpgmakerweb.com/inde...ing-forward-during-their-command-turn.140870/
^
It seems someone else posted about this and was able to get it resolved.
t= https://forums.rpgmakerweb.com/inde...ing-forward-during-their-command-turn.140870/
^
It seems someone else posted about this and was able to get it resolved.
for some reason this method didnt work for me,, im an MV user and the guy whom asked for help is an MZ user,, im not sure if it has anything to do with the engine, i might be doing something wrong;;
for some reason this method didnt work for me,, im an MV user and the guy whom asked for help is an MZ user,, im not sure if it has anything to do with the engine, i might be doing something wrong;;
Sorry. Honestly I am a complete newbie to the engine. So I am assuming that it could be as you say and calling this function is differant. I have a resource at home with all the variables and functions I have been able to find. I'll see if I can find something when I get in. Hopefully somone more knowledgeable comes in to help.
Sorry. Honestly I am a complete newbie to the engine. So I am assuming that it could be as you say and calling this function is differant. I have a resource at home with all the variables and functions I have been able to find. I'll see if I can find something when I get in. Hopefully somone more knowledgeable comes in to help.
i'll be very grateful if you find anything, thank you!^^
That's correct, the thread linked to above by @jerrylikesgreen is for MZ and the functions are not the same in the two engines.

You can copy the below into a text editor, save as a *.js file, include as a plugin.

Code:
Sprite_Actor.prototype.stepForward = function() {};

Sprite_Actor.prototype.stepBack = function() {};
That's correct, the thread linked to above by @jerrylikesgreen is for MZ and the functions are not the same in the two engines.

You can copy the below into a text editor, save as a *.js file, include as a plugin.

Code:
Sprite_Actor.prototype.stepForward = function() {};

Sprite_Actor.prototype.stepBack = function() {};
it worked almost perfectly! thank you,, but i have an issue now,, when the actors are being hit by the enemy, not only do they step back, but they also end up remaining still in the spot that they stepped back into,, making them look like theyre scooting away from the screen everytime theyre being hit ;;

also is there a way for this plugin code to work with the enemy's battler sprite as well?
it worked almost perfectly! thank you,, but i have an issue now,, when the actors are being hit by the enemy, not only do they step back, but they also end up remaining still in the spot that they stepped back into,, making them look like theyre scooting away from the screen everytime theyre being hit ;;

also is there a way for this plugin code to work with the enemy's battler sprite as well?
I think you're using plugins that you didn't mention which should already be able to handle this in their parameters.

In the default engine, enemies don't move at all and actors don't move backwards when they're hit.

It sounds like you're using the Yanfly Battle Engine Core, and if you read through its parameters it already has settings for the step distance and flinch distance - you don't need the code I gave you at all.

Original thread: https://forums.rpgmakerweb.com/threads/prevent-actors-from-sliding-when-selecting-them-or-doing-a-skill-in-battle.172492/