Getting on/off the airship…

Is there a way to get on or off the airship and skip the animation sequences for takeoff and landing?
Bump.
Try this.
Code:
Game_Vehicle.prototype.getOn = function() {
    this._driving = true;
    if (this.isAirship())
        this._altitude=48;
    this.setWalkAnime(true);
    this.setStepAnime(true);
    $gameSystem.saveWalkingBgm();
    this.playBgm();
};

Game_Vehicle.prototype.getOff = function() {
    this._driving = false;
    if (this.isAirship())
        this._altitude=0;
    this.setWalkAnime(false);
    this.setStepAnime(false);
    this.resetDirection();
    $gameSystem.replayWalkingBgm();
};
@ATT_Turan — I know just enough about JavaScript to know that what you posted means I probably needed to clarify my question. That’s on me and I’ll own it.

This looks like it’s a plugin that will skip takeoff/landing animations every time, if I’m reading it right (and I might not be). I just need something for a common event. Ideally it wouldn’t do anything to the music or care about whether the landing tile was land-on-able or not, but I could work around that if necessary.

I did some poking at rpg_objects.js and it looks like I could probably make variations of Game_Player.prototype.getOnVehicle and Game_Player.prototype.getOffVehicle, put a little twist on the code you posted, and make something callable with a quick line of script. I’m not quite sure how to go about it, but I do have enough of a programming background that I want to experiment with it before asking for further help. (No hints, please. …At least not yet.)

Thanks for this. ^.^
If it's just a one-shot deal, you could simply use event commands to fade out, exit vehicle, fade in. I'm not sure exactly what you're going for.
I’m having an item call a common event. If used while in the airship, it transfers you to the airship interior to wander around inside.

…Or at least that’s the effect I’m going for if you’re playing the game. I currently fade out, get current map location, transfer to a single tile map, land, transfer onto the airship interior map, and fade in. And then mostly the reverse for getting back to flying the airship on the overworld map.

Mostly I just want to get the transition time down so it’s more in line with other map transitions.

EDIT:

Got it:

Code:
Game_Vehicle.prototype.getOn = function() {
    this._driving = true;
    if (this.isAirship()) {
        if ($gameSwitches.value(14)) {
            this._altitude=48;
        }
    }
    this.setWalkAnime(true);
    this.setStepAnime(true);
    if (!$gameSwitches.value(14)) {
        $gameSystem.saveWalkingBgm();
    }
    this.playBgm();
    $gameSwitches.setValue(14,false);
};

Game_Vehicle.prototype.getOff = function() {
    this._driving = false;
    if (this.isAirship()) {
        if ($gameSwitches.value(14)) {
            this._altitude=0;
        }
    }
    this.setWalkAnime(false);
    this.setStepAnime(false);
    this.resetDirection();
    if (!$gameSwitches.value(14)) {
        $gameSystem.replayWalkingBgm();
    }
    $gameSwitches.setValue(14,false);
};

Me looking at Game_Player.prototype.getOnVehicle and Game_Player.prototype.getOffVehicle was equal parts red herring, rabbit hole, and wild goose chase, and I didn’t make it any easier by poking at Game_Vehicle.prototype.updateAirshipAltitude while I was at it (though I probably could have made that work if not for the conditionals on the BGM). Definitely a learning experience, though! Thanks muchly, @ATT_Turan. ^.^
Closed as Solved.

Original thread: https://forums.rpgmakerweb.com/threads/getting-on-off-the-airship.154492/