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,142
Reaction score
7,801
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,230
Reaction score
6,775
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,492
Reaction score
12,035
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: 2)

Latest Threads

Latest Profile Posts

Kingdom Under Fire: The Crusaders is finally being ported to PC. I loved playing that game on the original Xbox.
A friend told me to stop making nomnom or gulping noise when eating or drinking. Plot twist of my life. I thought people can't hear that!
Inside you are two wolves. They take in oxygen while getting rid of the Co2 gas in your body...
Ah wait, sorry. Lungs. Not wolves. that'd be silly. Wolves are huge. You probably couldnt even fit one wolf inside you.
Tag: hack and slash | gameplay: point and click. Me: "How tf two are related to each other?"

Forum statistics

Threads
94,407
Messages
920,731
Members
124,196
Latest member
DysonY
Top