I want there to be a condition if the player can board the ship to sail the ocean. Like, must have a key or you can't ride the vehicle. Is this possible????
Thanks in advance! ♥
Edit: Something like just when the player pressed the button to enter the vehicle where they left it, there is a condition. If key is not equipped they cannot enter but if is equipped they can enter. Does this make sense?
conditional branch -> tab 4 -> actor has equiped and or in inventory (check include for equiped?)
or try both and see what fits ^^
do stuff
else,
no entrance 😛
END
I am confused. How do you put this on a vehicle event? I mean, the vehicle is moved around the map and where you last left it isn't the event tile it started on. How are you suppose to even that?😅
I think you summon an vehicle on a dock or else where and a tile before it on player touch?
than make the condition branche. you can also use the condition branch with scriptcall:
$gameParty.isAnyMemberEquipped($dataWeapons[id]);
and when they have it, 1 step forward to enter?
There might be other ways, but Im not aware of many possibilities ^^
EDIT:
1 Momement if it's items or key items. Need to check something quickly.
While this work for armors and weapons, key is no weapon or armor. (srry) ^^
What about a common event? And that won't work for me making another tile everywhere before player is on ship/boat.
you can check if they have a key, but there is no option when equiped which basicly cant be equiped.
However, you can make check if the actor has the key and MUST be the leader to operate or make only
Actor name: xxxx can handle ship vehicle and if someone else is leader, it wont know how to ride.
If that makes sense.
That doesn't make sense at all. I'm so confused here.
How can you make a condition check for a parked vehicle???????????
I would recommend to make a fake event of a ship, and then if the conditions are met you set the ship in the same place as the event and force player to enter it (if that is possible)
This Mechanic Sounds interesting. I would like to try and help, but first some Questions:
1. Is the ship only on 1 Map or can it drive across several different Maps?
2. If you leave the Ship and you Enter a Town or just change the Map, when you return, is the ship supposed to be
where you parked it?
3. Is there only one Ship or is the standard ship used to simulate several independant ships and there Positions?
4. Can you board land everywhere or only at certain harbors or places.
5. Do you need the Option while traveling in the vehicle to Press a Button to Enter a Map which represents the Interior of the Ship
6. Anything else that could be important?
Never liked the base maker "only three vehicles" so i came out with a workaround for making as many vehicles as i want.
Here's what i did:
1. Make the ship/vehicle with an event, in your case make the event check for the "key item" to be activable, put a "Board Vehicle? ->Y/N" choice on it.
2. IF you have the "key item" AND chose YES then just move the player to the event, replace player sprite with the vehicle sprite and change player move speed (if vehicle is faster).
3. Replace the former ship event with a floating icon that indicates thats the place where you can board/leave vehicle, lets call this "parking spot event" .
4. Add a simple choice of "Leave vehicle? -> Y/N" on the parking spot event(s).
5. When you select yes, flip back to the event in step 1 and return player sprite to its normal walking sprite/speed.
Thanks for all the help guys. I've decided to give up on this idea. ^^;
I would have liked to help, i think its possible, but the solution path and the length of code is depending on the
Questions i asked.
Is the vehicle only on one map? Once the player has the key, will they always have it and always be able to enter the vehicle? If so ...
Start with the vehicle on a map that the player will never go to - just a default map with nothing on it but the vehicle, to start the game off.
Put an event with the vehicle sprite where the vehicle is meant to be.
Give the event 2 pages. Page 1 has no conditions and the vehicle sprite. You might put "You need a key" or something as text if you want some kind of response when the player interacts with it. Page 2 has the condition Item [Key] in Inventory, is set to THROUGH, below characters, and has no sprite. This makes the event inactive when the player has the key.
Now, on the event that gives the key to the player, do a Set Vehicle Location (not sure if this is on tab 2 or 3 of event commands) and move the real vehicle into the appropriate spot. When you add the key to the inventory, the "dummy" vehicle will disappear.