Call boat to a map via a skill or item?

Does anyone know how I can call the boat to the water in front of the player when the player uses a "Boat" item/skill?
Try doing it like this:

upload_2019-5-8_16-4-42.png


In this case the last condition will check if the Region ID is 1, so at the "Get Location Info" you can change it to terrain tag or whatever fits your need more, so water tiles will have a terrain tag of 2, or a region ID of 1...
Then make the item/skill call the common event where those commands are on 😅
@Ebanyle OK, so it works.... Kind of.
When it brings out the boat, the places it where the player is standing, despite the variables.
Spoiler
upload_2019-5-8_15-34-22.png
That's strange... Did you set this part accordingly?
Spoiler
upload_2019-5-8_17-13-44.png
This is where it will check to put the boat in front of the character.
@Ebanyle
Yes, I did it just like that:
Spoiler: Event
upload_2019-5-8_16-15-31.png
You're placing the boat in the XY of the player. You should place it in the Location XY (Variables 15 and 4) 👋
@Ebanyle Yes! That worked! Thanks!
Spoiler: screenshot
upload_2019-5-8_16-30-23.png

EDIT: Wait... The Up/Down one isn't working....

EDIT 2: I was using the wrong variables in Up/Down. Nevermind.
I only want to give you a small piece of advice to make it easier to edit the event later on. Instead of using conditional branches to check directions, you can set variables using the "script" option (or a script call).
Code:
$game_variables[1] = $game_map.map_id # no need to change this at all,the event command works perfectly here
$game_variables[2] = $game_map.round_x_with_direction($game_player.x, $game_player.direction)
$game_variables[3] = $game_map.round_y_with_direction($game_player.y, $game_player.direction)
The last conditional branch - the one checking that region ID - can be the same, but this allows you to remove every other conditional branch. As a matter of fact, you don't even need to store it in a variable. If you use the script option in the conditional branch you can just check it like this:
Code:
$game_map.boat_passable?($game_variables[2], $game_variables[3])
Doing it this way gets rid of everything but the most essential parts. It will be much easier to edit your event later on if anything changes.
Spoiler: The event would then look like this
index.php

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/call-boat-to-a-map-via-a-skill-or-item.108809/