Hello. I was making a few maps which have equal corridors and when the player reaches the end, it would transfer them to the next map, and then they would walk back and notice they are on a different map.
My problem is that the teleport pauses my character from walking + throws the follower on top of my main character. How can I make it to seem that a transfer didn't happen?
A seamless transition, transfer if you will?
Can only be done by plugin, and is a lot more complex that it might seem at the first moment:
The followers get placed on the main actor because the engine cannot know where to place them - they need to be in a position that is walkable and from a direction that is logically the entry point (which means nowhere in case of stairs).
Rather than wasting a lot of programming time on that part for little effect, the default engine just positions everyone on the designated entry tile.
To solve that, you need to have a way to designate "follower points" for the entry on each map - multiple times if a map has several entry points...
I'm moving this to plugin requests if you really want that, but don't get hopes up...
I've moved this thread to Plugin Request. Please be sure to post your threads in the correct forum next time. Thank you.
(oh - and the stop can only be reduced by a preload manager and careful map effects, because it is caused by loading times and to allow all map parallels to run first)
Hey!
Thank you for the quick answer, Andar. I didn't realize I'd need a plugin for this, though I apologize.
Also, I tried to use TDDP Preload Manager (the only one I can find at all) and the little pause remains, even with all of my plugins off. And my map has no parallel events but the transfer. 🙁
I hope someone can make a plugin for this. I'd be eternally grateful... and an idea for the follower point, could be a terrain tag? My transfers are pretty precise spotwise and I only need to do this in one map and only once.
I thought this would work smoother. I'm stumped that it isn't. Let me check.
$gamePlayer.setPosition(
$gamePlayer._x + 18, // < I know you edited this 18
$gamePlayer._y
);
var pe = $gamePlayer.followers()._data.length;
for(var i = 0; i < pe; i++){
$gamePlayer.followers()._data.setPosition(
$gamePlayer.followers()._data._x + 18, // < did you edit this 18 too?
$gamePlayer.followers()._data._y
);
}
$gamePlayer.center($gamePlayer._x, $gamePlayer._y);
// My only other guess is there is a mispelling.
// I should have posted copyable text like this in the first place.
Make sure it's both + or both - according to your map. You also don't need to repeat the event in the new location. I can only speculate without seeing your full map. Do you perchance have any plugins that reference Game_Followers? I'm also predicting you typed something like .x instead of ._x, but I can't know without seeing how you typed it. I'm a big boob. I should have posted script.
I'm glad I was able to help. I'm glad you went with my simpler method, even though technically this is not a plugin.
I was so sure somebody was going to have to write something a plugin to call a secondary $gameMap or whatever into memory and I don't understand the preload concept myself.