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,159
Reaction score
7,807
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,238
Reaction score
6,782
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,544
Reaction score
12,060
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 Profile Posts

Love it when someone confuses "RPG Maker (or script/plugin) has a bug" with "I didn't set it up right and it's not working as I want (or gives an error)"
Is animation really as hard as I think it is?
Out of sudden, snow. Everywhere.
Blech. I hate coming up with stories. Making gameplay is fun but coming up with lore and reasons for these areas/mechanics just makes me sleepy.

Forum statistics

Threads
94,571
Messages
921,986
Members
124,440
Latest member
YukiYuki
Top