Problem boarding airship

cecjr43

Villager
Member
Joined
Jan 28, 2014
Messages
17
Reaction score
0
Primarily Uses
I have gotten to where I have the airship. I try entering it using (photos) airship and airship1

event.

This is suppose to take me to my airship map, but instead I go to (photo) airship2.

I have tried different coding. but nothing seems to help.

airship.png

airship1.png

airship2.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
you'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".
 

cecjr43

Villager
Member
Joined
Jan 28, 2014
Messages
17
Reaction score
0
Primarily Uses
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?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

cecjr43

Villager
Member
Joined
Jan 28, 2014
Messages
17
Reaction score
0
Primarily Uses
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
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.
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.
 

cecjr43

Villager
Member
Joined
Jan 28, 2014
Messages
17
Reaction score
0
Primarily Uses
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top