Started writing a plugin for "guest followers", which are actors that follow you around, but aren't in your party (and therefore do not participate in battle).
However, I've run into a strange issue.
Here is a copy of the plugin so far.
To test it, simply make a script call
$gameParty.addGuestActor( ACTOR_ID)
And you should see the specified actor appear in your party on the map.
Make sure you have "Display followers" enabled in the system tab.
The problem I'm having is that the guest follower doesn't appear immediately.
Instead, it appears after I take a few steps.
I checked the position of the follower, and it seems to be where I expect it to be.
The sprite reports that it's visible, with opacity 255, so it's definitely not invisible.
The sprite reports the position as the position where my player is, so that seems alright.
Why does this happen?