Block saving while on transports

Is there a way to block the player from saving when they are on the boat/airship/ship?

I want my game to be like the FF series where you can save on the world map and selected save points/crystals but not when you are on the transports.

I've looked around a bit and can't find any information regarding this
Without scripting you can do it with a parallel run event. It's a dirty workaround though.

Do one of these for every vehicle. 1.png

Just tried on my game and it works.
Tried a little bit and it's not very memory intensive so it's probably a safe workaround.
If it's a world map you can just have 3 events like these running for all types of vehicles and you'll be good.

Cheers
Do I need one of these events for every entry/exit point on my world map (like towns and caves)? Or just one event for each transport type... where do I put it on the world map if I only need one?
Figured it out, I just placed one on the world map for Boat and now you can't save on the boat. Thank you for your help! 🙂
You're welcome brother, I just saw you asked for VX and I showed you a screenshot and tried it on MV, but still happy to know it worked.
I don't have MV on this computer, so can't check. But if there's a "Is vehicle (none) driven" you could do it that way - if no vehicle, enable save access, else disable save access.

Otherwise you'd have to do it as a nested condition:
Code:
If Vehicle (airship) is driven
  Disable save access
Else
  If Vehicle (ship) is driven
    Disable save access
  Else
    If Vehicle (boat) is driven
      Disable save access
    Else
      Enable save access
    End
  End
End

And make sure you put a Wait at the very start. This isn't something you need to check 60 times per second. Doing this with no wait could cause lag, depending on what other events are doing. You could do a Wait 60 frames and check just once per second. It's very unlikely that someone will try to save within a second of entering/exiting a vehicle.

Original thread: https://forums.rpgmakerweb.com/threads/block-saving-while-on-transports.119422/