RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

how can I make an airship fly to me?

Started by maroma, May 03, 2013, 12:01:53 PM

0 Members and 1 Guest are viewing this topic.

maroma

Hi Guys

My English is not so good hope you can read it anyway.

I want to create an event that comes a vehicle when I activate an item.

So that appears near me (out of sight), the airship and then flying an autopilot to me and then I can fly.

How do I implement this?

So far I have done the following:

I have created a remote control as an item and when I use a common event started. (Switch is not possible)

In common event Contets I put a switch to ON.

On the world map I put in a parallel process of a 2nd switch ON. (on normal maps this is set to OFF), the airship so you can not call in a forest ^. ^

So far everything works as far as I had imagined but I can not continue.

Next, I would do so I would leave the event (airship) arise out of my sight and then on the fastest way to me so I can fly fly away.

And if I am to getting off the airship flying from the map.

I hope someone can help me.

Thanks in advance

dricc

It's not easy to understand what you need ... and i hope it is not too late 10 days after .

Don't forget that in an event , you can make another event move .
It means you don't need switches , you can make everything in the common event of your item . It is far easier to have only one event controlling everything .

For zones where you can call or not the aircraft , i suggest to use areas (if you are in VXAce) .

Now for the part "getting off the aircraft" .

you need this little script before "main" :

class Game_Vehicle < Game_Character
  alias dricc_get_off get_off
  def get_off
    dricc_get_off
    $game_switches[2]=true
  end
end


change the "2" by any switches . then make an event triggered by this switch . this event will make everything you need when getting off a vehicle .
if you are using also boats , then you will need to add : if @type == :airship
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :