ship disapeared.

I made a game with several continents. The only way to go there is by ship. (The option
"airship" will be availabe almost in the enf of the game.
I made port in every continent so the party will have to buy every time a new ticket to the ship.

The problem:
If the ship come to a continent it stay there. not in the port but where the player leave the ship. So after he finishs his business
he just go to the place where he left ship and continue in one ticket all over the world. I need a command that after
getting to shore the ship disapeard or gone somehow.
Can you give me ideas?
Why don't you transfer it to a different place and substitute it with an event that checks how many tickets the player has?
Where can I put the code? I don't know where the player is going to get out of his ship?
You can simply run a parallel process that stores the location of the ship before transferring it somewhere else. You can know when the time is due for the transfer to happen when the player is no longer on the ship.
index.php

When the player is on the ship you constantly save the current position in a variable, when the player is no longer on the ship you swap the ship position with that of the event (you can use this very same event for that) and activate a different page for the event that has a ship graphic and is no longer a parallel process but an Action Trigger event.
Thank you. I try and tell you.

well I tried. I don't know how to make event like this. I dont know how to put the swicthes or variables.
Do I make a quare somewhere to call the event? can you just write to me the right order
of the comments?
I thought may be to make a condition "when ship is drivern" and in else "set viahcle location..." but it did not work.
again, i will appriciate if you show me how to make it. may be others can be helped as well.
thank you very much in advance.

Original thread: https://forums.rpgmakerweb.com/threads/ship-disapeared.113698/