Set Event Location, someone know the Script?

Hi, i see the list but there is no Script for Set Event Location,

Someone know?.

Thanks in advice, 🙂
screenshot_5.png
Thanks, i am trying to get the Script, because i want to try a few things.
Oh right sorry :/


*slinks away shamefully*
After trying a few things I finally found it :3

$gameMap.event(this._eventId).locate(x,y)

$gameMap.event(this._eventId).setPosition(x,y)

this._evenId = the current event but you can change it to the id of the event you want to move.

To choose the direction is should face use this:

$gameMap.event(this._eventId).setDirection(direction)

direction = 2 = down, 4 = left, 6 = right, 8 = up
Thanks !!!

I will try in a few minutes and reply again if i can used for i wanted.

Thanks Thanks Thanks!!
Yeah, i made it. I find a way to solved. In the next hour i post the problem and how i solved.

Thanks and Special Thanks to Baka-Chan. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/set-event-location-someone-know-the-script.47508/