MV Request: Vehicle Events Plugin

Good morning / afternoon / evening

I remember Tsukihime's script that allowed events to be triggered while riding vehicles.

Is it possible to code a plugin that does this?
For example if you're on an airship and you have an event that triggers when the player touches it.

Any help is greatly appreciated!
Not a plugin, but perhaps this older thread may prove useful.
Do you want special events that only trigger when in an airship, or just to allow the player to interact with regular events while in an airship? The first would probably be a bit complicated, but the second is a very simple change.
Do you want special events that only trigger when in an airship, or just to allow the player to interact with regular events while in an airship? The first would probably be a bit complicated, but the second is a very simple change.
Exactly the latter, with any vehicle really.
Exactly the latter, with any vehicle really.
Alright, I don't have a way to test this rn, but this should hopefully be enough:
JavaScript:
Game_Player.prototype.canStartLocalEvents = function () {
    return true;
};
Works perfectly!

Thank you so much for this! This will open a whole new frontier for those who want to create events while on vehicles!

Original thread: https://forums.rpgmakerweb.com/threads/request-vehicle-events-plugin.159871/