I want a way to make vehicle to be removed from the map when I set the vehicle location there. I don't the situation where I have to set a different location for the vehicle, I just want to remove the vehicle from the map and bring it back without changing it location in the event tabs.
A way to make vehicle disappear
RPG Maker MV SupportSimply sending it to an empty map that the player doesn't have access to would suffice...
The initial location of any vehicle, if not defined, is on map 0, at coordinates 0x0, so if you do it via Javascript it's simple to solve:
$gameMap.boat().setLocation(0, 0, 0)$gameMap.ship().setLocation(0, 0, 0)$gameMap.airship().setLocation(0, 0, 0)
Sorry if I misunderstood, but you didn't specify what you want to do... perhaps you want the vehicle to disappear on its own after the player is a certain distance away, or to change maps?
not possible by default.
you can either store the vehicle location to return to before moving it to a different map (would require script commands) or ask for a plugin that adds such function to the game engine,
you can either store the vehicle location to return to before moving it to a different map (would require script commands) or ask for a plugin that adds such function to the game engine,
I implemented a horse vehicle in my game, and want the vehicle to be used like running boot (like in Pokemon games,etc). Player can trigger events while using horse vehicle but can not enter houses. I added a common event that would turn off the vehicle when Player encounter some events. After testing, I noticed that that when the player get of the horse vehicle. The vehicle is in way and sometimes blocks the paths of my npcs.
This script will do. I know how to code, but I don't know JavaScript. I think I will be able to use it. Thanks
.I think can do that with eventing. Thank you both for the help.
I made a plugin you can try out.
SDJB_MoreCustomVehicles which can summon, and has some boarding,
set, relocate etc to gain more control.
pro version that is in WIP alter it slightly on some function for more flexible.
but this isn't released yet.
SDJB_MoreCustomVehicles which can summon, and has some boarding,
set, relocate etc to gain more control.
pro version that is in WIP alter it slightly on some function for more flexible.
but this isn't released yet.
Look, I'm not entirely sure I understand what you need, but if it's a question about vehicle blocks, you can change the ownership of the vehicles, although I think that ends up being a makeshift solution that may create more problems than a definitive solution:
$gameMap.boat().setThrough(1)or
$gameMap.boat().setThrough(true)In Common Event:
Code:
◆If:Boat is being driven
◆Script:$gameMap.boat().setThrough(0)
◆
:Else
◆Script:$gameMap.boat().setThrough(1)
◆
:End
I didn't tell you to create anything from scratch, I gave you the commands ready-made...
See this, using scripts is in the basic manual:
Understood
Here is the link to the RMMV manual, which comes with the editor, but if you prefer to read it in your browser:
The RMMZ manual, which has several techniques that also apply to MV, but to avoid having to install or buy it, you can read it here:
The RMMZ manual, which has several techniques that also apply to MV, but to avoid having to install or buy it, you can read it here:
Please, can you give me the script command to also set the vehicle to transparent. So it will make it seem like it has disappeared.
Original thread: https://forums.rpgmakerweb.com/threads/a-way-to-make-vehicle-disappear.182995/