How to Make an Event Work with Airship?

Hey there, I'm trying to get an event on the world map to activate via Airship, basically like, entering the dungeon by airship only. Is that possible?
Fortunately there's a conditional branch option for that!
NewCanvas1.png


Can you trigger an event normally as an airship? If not you can save your coordinates via two variables (an x and a y) and then make a parallel process to check if you're in the spot where the entrance to the dungeon should be. Then check if the players are in an airship and it should work. Hope that helps!
EDIT: Just realized you asked for mv, don't know if that engine still has that option but it should have
Fortunately there's a conditional branch option for that!
Except events don't trigger when you're in a vehicle.

In this case, you would either need a plugin to allow you to choose events that will "override" the "don't trigger when in a vehicle" logic, or set your event trigger to parallel process, and add the following commands:
Code:
Wait 10 Frames
If Script: $gamePlayer.x === this.character(0).x && $gamePlayer.y === this.character(0).y
  If Vehicle (Airship) is being ridden
    do transfer
  End
End

So this compares the character's position to the event's position, and if they're the same AND the player is in the airship, it will transfer. The Wait 10 Frames is there to prevent performance issues (if the game runs at 60fps, it would check the player's location 60 times a second, and that's far too often).
Thanks! I’m not sure where exactly I would put in that script - do you have any specific plugins to recommend as well?
that is not a script. It is the event commands you should put onto the transfer event that you want the player to interact with.
Okay! I got it to work now, thanks guys! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-work-with-airship.115459/