SetPos and Position on NPC not working from interior to exterior
SetPos and Position aren't working from interior to exterior, though PositionCell does. This causes mods like Companion Teleport (recently patched for OpenMW) to not behave as expected (i.e., not consistently with behavior in the Bethesda engine). This has been verified with a kludge, namely forcing an NPC moved with that mod to first be moved to an exterior cell (e.g. next to the Balmora siltstrider) then moved with SetPos to where you actually want them. The problem does not affect exterior-to-exterior moves, nor within-the-same-interior ones (interior-to-other-interior doesn't work, even in Bethesda, though we're all ears if someone knows of a way to make it work).
As reported on the forum:
The problem appears to lie in the implementation of the "SetPos" command - it functions correctly, except when moving an npc from interior to exterior cell - the npc becomes invisible/inactive, but coordinates are apparently updated correctly.
I'm not sure what status the npc has entered - can be recovered by "PositionCell", but not by "enable", and [the companion/follower] does not follow the player.
The "Position" command seems to have a similar problem, "PositionCell" does not.
I can confirm that the SetPos did actually put the NPC in the cell in some weird state; I have a companion mod with a telepathy ring who gives different responses when in or not in the same cell.
Leaving this marked "Linux" by default, but it affects MacOS X and presumably also Windows.
This appears related to #3109 (closed), but is broader (affecting two commands, not just one) and perhaps also narrower in a sense. Not sure what you like to merge or how, when it comes to partially overlapping reports.
(RM-4088 from redmine: created on 2017-09-08 by Dark Locq, , closed on 2017-09-08 by nobody)