Jessrond

Villager
Member
Joined
Mar 14, 2012
Messages
14
Reaction score
4
First Language
English
Primarily Uses
RMVXA
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
 

cotodigital

Veteran
Veteran
Joined
Nov 20, 2013
Messages
41
Reaction score
29
First Language
Spanish
Primarily Uses
RMMV
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
 

Jessrond

Villager
Member
Joined
Mar 14, 2012
Messages
14
Reaction score
4
First Language
English
Primarily Uses
RMVXA
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?
 

Jessrond

Villager
Member
Joined
Mar 14, 2012
Messages
14
Reaction score
4
First Language
English
Primarily Uses
RMVXA
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! :)
 

cotodigital

Veteran
Veteran
Joined
Nov 20, 2013
Messages
41
Reaction score
29
First Language
Spanish
Primarily Uses
RMMV
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.
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,035
Reaction score
16,847
First Language
English
Primarily Uses
RMMV
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.
 

Latest Threads

Latest Profile Posts

GABposterworkhardest.png
Just about finished I reckon.
This could probably be an entire thread, but it’s really interesting how replaying a game several years later can change how you relate to a character. I think Tidus from FFX got such a bad rap. I getchu. Completely different reaction as an adult now.
As you see, I still enjoy writing tutorials. Is there anything specific you want to see? (I know mapping and editing/resource making is usually popular, but those are very broad topics)
Well, I wanted to expand player battlers visually and now have 3 sheets and counting for each of my players party.
1. Regular sheet
2. The character has turned stone sheet.
3. Using potions sheet.

Technically the main hero has 4 since he starts with a wooden sword, and I felt that the battler should reflect that until he gets a metal one.

Right back to the RM game dev grind in about 15 minutes. :LZSexcite:

Forum statistics

Threads
131,735
Messages
1,222,787
Members
173,487
Latest member
Wch124115
Top