Move event to a certain coordinate (x, y)

Status
Not open for further replies.

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
210
Reaction score
18
First Language
Spanish
Primarily Uses
RMMV
I've been struggling with this for quite a lot of time.
YEP_MoveCore and QPathfinding don't work for me. I've looked into RMMV Script Calls list but this "$gameMap.event(id).command(x);" doesn't make any sense to me. What is the command for what I'm looking for?
 
Joined
Jul 12, 2020
Messages
111
Reaction score
20
First Language
English
Primarily Uses
RMMV
I don't believe you need anything complicated like plugins or script calls.
Depends on how exactly you wanna "move" the event. Do you mean like, just teleporting there? Moving there manually through Set Movement Route?

If I'm picturing this correctly, you could easily just use the "Set Event Location" tab under the Transfer Player/Set Movement Route area in panel 2. Just select the right coordinates.

If you want it to actually move there through in-game eventing, you might need to experiment with Set Movement Route.

Otherwise, I'm not too sure...
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
210
Reaction score
18
First Language
Spanish
Primarily Uses
RMMV
I need my events to go to certain coordinates via pathfinding. I believe there are script calls for that. I'm using YEP_MoveCOre and Orange Pathfinding and it works great besides this "function". Events easily find the player but just stumble around when I use MOVE TO: X, Y. I've also tried "this.moveToPoint(26, 13)" which gives me an awful FPS drop.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
950
Reaction score
553
First Language
Poland
Primarily Uses
RMMV
I didn't see those plugins in action you mentioned, but for Pathfinding I'm using @Shaz Smart Pathfinding and I'm happy with it, great plugin so you can try it for yourself.

However, there is a script call, but it will only teleport event on XY of map, so that's not good enough for you, right?
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
210
Reaction score
18
First Language
Spanish
Primarily Uses
RMMV
Thanks! It works fine!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,034
Reaction score
5,335
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Everything's going to be alright! We're all in this together. <3
Aaaaannd published my game's tech demo. :D

Feel free to download and play it. And give feedback!
Hey everyone, we know that the edit bar is missing. We're working on it. You can talk about it in the announcement here: https://forums.rpgmakerweb.com/index.php?threads/forum-errors-missing-edit-bar-etc.132715/
So, explain why we can no longer use BBC code or smilies in our posts? This sparks much sadness...
Are we now stuck with WYSIWYG ? I cannot revert back my posts to good old raw text ?

Forum statistics

Threads
107,794
Messages
1,032,252
Members
139,941
Latest member
Finley
Top