Making an event move to another event?

awesomeblueman

AwesomeBlueMan
Member
Joined
Jan 13, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
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!!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,135
Reaction score
7,796
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,229
Reaction score
6,769
First Language
German
Primarily Uses
RMMV
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)
 

awesomeblueman

AwesomeBlueMan
Member
Joined
Jan 13, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
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?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,467
Reaction score
12,017
First Language
English
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

i deleted anime only family guy from now on
I've discovered Stardew Valley and now I'm an addict. To think that one person designed this...
There a thread out there that tells us the best way to open an RPG that isn't 'the protag gets out of bed'?
Updated my state Stacker Script on itch.io, github is down for some reason (probs just me).
Wife watching Locke and Key. This show is so bad!! You can't just acclimate to discovering magic or magical worlds in less than 60 seconds.

Forum statistics

Threads
94,335
Messages
920,035
Members
124,093
Latest member
JosephTucker
Top