I have these events that push the player around from spot to spot. Some really basic movement routes, nothing fancy. The problem is, when the player is finished moving, they don't trigger the events on the tile like they would have if they walked onto the tile on their own free will.
So, I'm trying to find a script call that will make the game trigger any and all events (specifically Event Touch events with a Below priority) on the player's current tile.
An easy example of what I'm trying to do is this: On tile 5,5 there is a touch event that transfers the player to another map. You walk onto the event, you transfer just fine. But, if you are targeted by a movement route event call which forcefully moves you onto tile 5,5 you don't trigger this event. I want a script call to play after this movement route that will force the game to check event touch triggers on the player's current tile.
Edit: To anyone who searches this topic in the future because you also had this issue, this code ended up working:
So, I'm trying to find a script call that will make the game trigger any and all events (specifically Event Touch events with a Below priority) on the player's current tile.
An easy example of what I'm trying to do is this: On tile 5,5 there is a touch event that transfers the player to another map. You walk onto the event, you transfer just fine. But, if you are targeted by a movement route event call which forcefully moves you onto tile 5,5 you don't trigger this event. I want a script call to play after this movement route that will force the game to check event touch triggers on the player's current tile.
Edit: To anyone who searches this topic in the future because you also had this issue, this code ended up working:
Code:
$gameMap.eventsXy($gamePlayer.x, $gamePlayer.y).forEach(event => event.start());