Vehicle Step-Animations in rpg maker mv

So i'm trying to find a way to change the animation for the Vehicles, so like the player they don't use a  step animation until they move, i'm having a bit of trouble with this can someone help?


i have found a way to do the opposite with the player, but i'm yet to find a way to manipulate the Vehicles.


this is the only function that i have found that i can do anything with the animations, but its not quite what i'm trying to do, by changing this i can only make the Vehicle stop all animations.


Game_Vehicle.prototype.getOn = function() {
    this._driving = true;
    this.setWalkAnime(true);
    this.setStepAnime(true);
    $gameSystem.saveWalkingBgm();
    this.playBgm();


};


Can anyone help? thanks.
sorry to bump this but i dont want to make a new post for the same question.


i made a common event to change the graphics to make it look like you got on a horse but i cant turn off stepping animation while on the horse/boat vehicle.


using the land vehicle script btw.
Just disabling the this.setStepAnime(true) line should fix it.  Not sure how you changed it in order to make it stop ALL animations.


If you only want to disable the stepping animation for some vehicles but not all of them, just use a condition to determine whether it should be set to true or false.



If you can't figure it out, show us what you've done already.
Side Info:


Im using a plugin that changes the boat to go on land.


I have a character image, a horse image and a character on horse image.


My set up:


So i have an event to check if player is on the boat.


if the player is on the boat the conditional branch changes the boat image to the player on the horse.


All that works but the step animation is on like if the horse is always walking in place, i just want the walk animation on so when i finally move the character the image moves.


Trying out the ops script it stops the boat graphic from walking or stepping for some reason, and i tried all alterations like including, excluding, setting to false and true, but it does let you move around but the animation is static.


So all in all i just want stepping animation off, forever on boats. Ive included a picture it doesnt really help but I just wanted to share, using time fantasy dlc.


Really appreciate you taking the time to help me out.


123.png
Anyone ever find a fix for this?
Necro-post notice: mental_fallout
Please start a new thread with your precise query.

Moderator note: Closing

Original thread: https://forums.rpgmakerweb.com/threads/vehicle-step-animations-in-rpg-maker-mv.67916/