» Sat Nov 06, 2010 11:47 pm
I'm with Vyper on this one. I hadn't really used the function yet myself, but went ahead and loaded up the GECK and tried it. Didn't pay attention to making it pretty, but I threw a container in the world, two NPC 'bankers', and a quest that started at game start (for dialogue).
Did a simple "hold my stuff" topic, which did player.RemoveAllItems MyContainerRef 1; (the GECK page stated any non-zero value retained the ownership properties), then a "I need my stuff" topic, which did MyContainerRef.RemoveAllItems player 1;.
I put one NPC in the same room as the container, another out in the wasteland just to test. Gave both items and got them back fine, as well as gave them some, gathered more items, and gave them the newly acquired stuff, and when I asked for it back, I got it all returned. Also put the container in view to check its contents and it worked as it was meant to.
I would worry about the player.moveto, but if you said neither work (the NPC on screen as well), then it is likely just a typo/mistake where you might have put the items in one, but tried to get them from another, or didn't use a correct reference, etc.