RMMZ stop side-view battlers from moving forward during their command turn

shukrin

Regular
Regular
Joined
Sep 2, 2021
Messages
40
Reaction score
10
First Language
English
Primarily Uses
RMMZ
Hi, I don't know if this is a hard request, but all i want is to stop the "step forward" movement of my sv battler everytime their turn came.

Reason for this is my battle system dont have any cast time for skills , and i'm using "instant tpb" plugin to make my battle feel fast, but the problem is it will looked like my character kept shifting forward and backward even for normal attack and it looked weird.

All i want is to stop those "shifting" movement, so any alternative is find as long it will do that.
 
Last edited:

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
530
Reaction score
861
First Language
French
Primarily Uses
RMMZ
Hello, you can copy that method in any plugin:
Code:
Sprite_Actor.prototype.shouldStepForward = function() {
    return this._actor.isActing();
};
The default function return this._actor.isInputting() || this._actor.isActing() which make the actors step forward when the player is selecting an action, then goes back, then step forward again when they execute the action. By removing the first part, the actors will only step forward when they execute the skill. That should do the trick.​
 

shukrin

Regular
Regular
Joined
Sep 2, 2021
Messages
40
Reaction score
10
First Language
English
Primarily Uses
RMMZ
Hello, you can copy that method in any plugin:
Code:
Sprite_Actor.prototype.shouldStepForward = function() {
    return this._actor.isActing();
};
The default function return this._actor.isInputting() || this._actor.isActing() which make the actors step forward when the player is selecting an action, then goes back, then step forward again when they execute the action. By removing the first part, the actors will only step forward when they execute the skill. That should do the trick​
Awesome! Thank you very much it works!
 
  • Like
Reactions: TSR

Latest Threads

Latest Posts

Latest Profile Posts

Just remembered one of my favorite albums as a teenager. It's amazing how music can take you back.
so what happens when i take my in-progress beach tile, and add this grayscale crystal tile i made? perhaps the ocean version of my sparkly river water? im tired though, so we'll have to figure that out tomorrow xD

RPGMV_3Jwu9i361J.png + Photoshop_cVgbzuXnew.png = Game_RvlSCEtQCy.gif ??
The downside to wearing my work clothes: When it rains heavily like a monsoon outside... the water renders my clothes basically transparent. It's... an adventure to get home like that, to say the least. Thankfully, it doesn't rain here that often.
Colored the wallpaper in :)
Panoris-Wallpaper-colored.png
a quick walk through town

Forum statistics

Threads
134,728
Messages
1,250,126
Members
177,484
Latest member
TimeMage
Top