Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A plugin for RPG Maker MV to allow airships to interact with events.
//=============================================================================
// Airship Events
// Version: 1.0.0
//=============================================================================
var Imported = Imported || {};
Imported.Kru_AirshipEvents = "1.0.0";
//=============================================================================
/*:
* @plugindesc 1.0.0 Allows airships to interact with events.
*
* @author Krues8dr (krues8dr.com)
*
* @help
* ==================================================================
* Information
* ==================================================================
*
* By default, RPG Maker MV doesn't allow Airships to interact with
* events – this plugin removes that limitation.
*
* Note that you'll have to create special handling for dealing with
* transfers (e.g. entering towns, etc.) for airships to use this as
* expected. The easiest way to achieve this is to add to your event
* a Conditional Branch for Vehicle: Airship is driven and move the
* transfer into the Else clause.
*
* Terms & Conditions
* This plugin is free for both non-commercial and commercial use.
*/
var Kru = Kru || {};
Kru.AE = {};
Kru.AE.Game_Player__canStartLocalEvents = Game_Player.prototype.canStartLocalEvents;
Game_Player.prototype.canStartLocalEvents = function() {
return true;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment