Problem boarding airship
RPG Maker VXAce Supportyou've misunderstood the use of the vehicle commands.
"Get On/Off Vehicle" requires that the vehicle is present - this command simulates the action button when you're facing the vehicle.
For this command to work, the player has to be adjacent and facing one of the vehicles.
"Set vehicle location" places the (usually empty) vehicle on the map position specified, so that the player can then go to that position and board it. It will not transfer the player, and in this case it would place the vehicle (Airship) including the picture of the airship on the map you've called "onboard airship".
"Get On/Off Vehicle" requires that the vehicle is present - this command simulates the action button when you're facing the vehicle.
For this command to work, the player has to be adjacent and facing one of the vehicles.
"Set vehicle location" places the (usually empty) vehicle on the map position specified, so that the player can then go to that position and board it. It will not transfer the player, and in this case it would place the vehicle (Airship) including the picture of the airship on the map you've called "onboard airship".
Thanks. Finally on board.
I got an error msg in the system game_map
line 41 and was able to figure it out, but.....
line 42 is asking for a tileset id and I can
figure out where it is. Any ideals?
I got an error msg in the system game_map
line 41 and was able to figure it out, but.....
line 42 is asking for a tileset id and I can
figure out where it is. Any ideals?
You should not be having any script errors if you haven't added or modified scripts. What scripts are you using? Provide links to their topics/blogs.
Not using any scripts at all. I only made one change.
I made new event for get on/off.
I got on the airship then got the error,
View attachment airship3.png
View attachment yntax error.png
I made new event for get on/off.
I got on the airship then got the error,
View attachment airship3.png
View attachment yntax error.png
I found the problem, but don't know how to fix it.
I downloaded a demo on how to get airship to
fly and copy/pasted it into my program to test it,
It used the script.
View attachment airship4.png
I downloaded a demo on how to get airship to
fly and copy/pasted it into my program to test it,
It used the script.
View attachment airship4.png
The event command "script" is not the same as using a script.
With the event command "script" you can either make small ruby calculations or call ruby functions inside a script.
The script function "$game_player.pilot_vehicle" is NOT a basic function, it was added by a non-default script that was probably part of the demo but what you didn't copy into your game.
I suggest you take a step back and begin to tell us what you want to do in your game, then we can guide you to the correct tutorials on how to do that. At the moment you're only getting random results because you mix things that only accidentially have to do with Vehicles, but not neccessary with your game.
This may sound funny, but I only want to use the airship.
I have it available and my event to get on/off vehicle
transfers me to the map of my ship.
Now I need to be able to get it off of the ground.
By the way. thank you for your time and patience.
I have it available and my event to get on/off vehicle
transfers me to the map of my ship.
Now I need to be able to get it off of the ground.
By the way. thank you for your time and patience.
Set the location of your airship by right-clicking on a tile and choosing Set Location > Airship (sorry if the terms are wrong - I'm at work and don't have the engine with me).
If the player can walk up to the airship and board it, you don't need to do ANYTHING else. The airship vehicle already has the correct setup for this.
If you want to come from ANOTHER map or have your PC walk to the airship and board it after talking to an NPC, you will either use a Transfer Player command or a Set Move Route command to put the player on the same map as the airship, standing one tile below (above/beside) it, facing the airship, and then use the Get On/Off Vehicle command.
If the player can walk up to the airship and board it, you don't need to do ANYTHING else. The airship vehicle already has the correct setup for this.
If you want to come from ANOTHER map or have your PC walk to the airship and board it after talking to an NPC, you will either use a Transfer Player command or a Set Move Route command to put the player on the same map as the airship, standing one tile below (above/beside) it, facing the airship, and then use the Get On/Off Vehicle command.
Original thread: https://forums.rpgmakerweb.com/threads/problem-boarding-airship.23951/


