Hello all!
I'm trying to make it so an event will walk to an "exit" event, no matter where they are on the map. I know there is the "Move to Player" Movement in the Movement map, but is there a way to have the event "move to target event?" Any help would be awesome!!
Making an event move to another event?
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to MV Support. Thank you.
-
not by default
you either need a pathfinding plugin or you'll need to manually set the correct route (or by implementing a minor path logic by event instead of plugin) -
Would you happen to have a recommended pathfinder plugin or know an example of the path logic by event?not by default
you either need a pathfinding plugin or you'll need to manually set the correct route (or by implementing a minor path logic by event instead of plugin) -
-
Try Yanfly Move rout core
http://yanfly.moe/2017/01/21/yep-124-move-route-core-rpg-maker-mv/ -
It's even easier than that.
https://forums.rpgmakerweb.com/index.php?posts/849064
under Pathfinding.
If you want to use the location of an event rather than a specific x, y destination, use $gameMap.event(id).x, $gameMap.event(id).y instead of just x and y, obviously replacing id with the actual id of the event you want to move to. -
I used it for RPG Maker MZ
Very Easy, take the Script:
$gameMap.event(4).locate($gameMap.event(2).x, $gameMap.event(2).y);
So can Event 4 jump to Event 2 for example. You dont need a Plug In -