Hey.
Is there a way to call a script (or even better a common event) whenever the player teleports from one map to another?
I'm using an ABS which involves limiting default player movement, but whenever the player changes the map the player is stuck in place and can't move. I can reenable movement via script, so calling this after every transition would be neat and simple.
Even with limited default player movement, I am astonished that map transfer means the player can't move. My first instinct would be to check whether that really is inevitable before looking for a workaround.
1) why don't you simply add the command to the transfer events?
2) as with the post above this description strongly sounds as if you're doing something wrong, because there is absolutely no way any plugin would have that as an intended function.
so please tell us what script command is supposed to "activate movement", and give a link to the ABS plugin - that should enable someone here to find out where you made the mistake that disables movement.
OK, and your screenshot even shows where you disable that movement before you need to enable it.
can you tell why you disabled it? Especially that way, which is a bit extreme?
Although I have to admit that if you went that deep into the engine, you might have to do a complete overhaul of your ABS to change it to a better solution.
and if that is the case, I suggest placing a single autorun with that command and a erase event on every map. That should actually be the better solution compared to a plugin that manipulates the transfer to a new map, because such plugins (which do exist) might break a different part of your ABS...
Many use a Parallel Event, to start the Map Music, to set a Screen Tint, start the Weather or
do the code you want to do.
Than they add the Eventcommand Erase Event, thatway it is executed one time every time the Player enters the Map.