So I have build a script that allows the player to move an event.
However I notice that when I transfer to another map and get back to the original map, the location of the event is reset to its original place.
How can I tell the game to leave the event on the position set by the player?
I'm using following command move an event:
@event.moveto(@newX,@newY)
This is working fine as long as I stay on the map.
When I go to a new map and return, the event is back to its original ones however I want it to stay at the newX and newY.
However I notice that when I transfer to another map and get back to the original map, the location of the event is reset to its original place.
How can I tell the game to leave the event on the position set by the player?
I'm using following command move an event:
@event.moveto(@newX,@newY)
This is working fine as long as I stay on the map.
When I go to a new map and return, the event is back to its original ones however I want it to stay at the newX and newY.