Hello! I'm very new to modding, so apologies if I'm missing something really obvious -

I'm messing around and practicing some trickier (for me) stuff by making an NPC with a familiar-like companion whom she can summon using a spell added to her innate list when her sword is equipped.

Since he's summoned, he doesn't move from area to area, so to have him move from area to area, I put this script on my NPC:

CODE
IF
    Global("FZ_Fios_Here","GLOBAL",1)
    !InMyArea("Fiozoch")
THEN
    RESPONSE #100
        MoveGlobalObject("Fiozoch",Myself)
END


My problem is that after he moves, I can no longer control him - he acts like a familiar that was just created with CreateCreature, and the cursor changes to the "talk" cursor whenever I mouse over him.

I'm curious what sort of workarounds are there from modders who have added familiars to NPCs before. Or would it be better to just have him automatically follow his NPC summoner outside of combat? His circle deactivating each time the PC moves a location seems annoying, so this is an option.

EDIT: For now I've just added an ActionOverride to make him Ally() to the player when he's moved, but it seems this doesn't persist through save/reload and I can also definitely see needing to reselect him every time getting sort of old.

EDIT: Never mind, I fixed it. Sort of. His default allegiance needed to be "controlled" and not "ally" in order for him to be selectable on reload. He's still unselected when he appears in the same area as his summoner, but I made him follow her if he gets out of a certain range so it's not required that you select him every time.

last edit: In case anyone has the same problem as me, I also managed to overlook the OnCreation() trigger until now. It works on the actual generation of the creature as well as reloads. I initially had a problem getting his scripts running on him after reload as well (it was set in the override slot) until I put it in the default slot.