Check if player has a key to ride a boat?

Fragarachu

Veteran
Veteran
Joined
Apr 19, 2018
Messages
59
Reaction score
2
First Language
Indonesia
Primarily Uses
RMVXA
So, in RPG Maker VX Ace, is there a way to check if the player HAS a key to ride the boat.
The boat is the car, i have the sprite and the script for the boat to work on land,
 

noelburgundy27

Aspiring Jack-of-All-Trades
Veteran
Joined
Oct 12, 2013
Messages
44
Reaction score
8
First Language
English
Primarily Uses
N/A
I can imagine eventing to be a solution. Make a conditional branch event. At the 4th tab when setting it up, you will see Item/Inventory. This can be used to check an item such as a Key.
 

Phade102

Veteran
Veteran
Joined
Mar 14, 2013
Messages
74
Reaction score
33
First Language
English
Primarily Uses
I'm thinking it might work with a simple two page event. one that runs if you dont have the key, which can say "You dont have the key" or something, and one that runs only if the 'key' is in your inventory, which does the processing and lets you into the vehicle.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Have the real vehicle somewhere the player can't see or access (on an unused map, perhaps). Have an event that LOOKS like the vehicle. On the event, when the player interacts, do the "do they have the key" check. If they do, run a Set Vehicle Location command to move the real vehicle to where the event is, facing the same way, and activate a second page to the event that has no sprite or commands (in effect, turning the event off for the rest of the game). Then run a Get On Vehicle command.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top