Talk:GetContainer

From the Oblivion ConstructionSet Wiki
Revision as of 16:38, 8 August 2010 by imported>Fore
Jump to navigation Jump to search

What does this return in the case that the object has no container? 0? -1? --MaXiMiUS 23:53, 30 April 2006 (EDT)

I believe it will return a Ref == 0 --Tegid 08:21, 1 May 2006 (EDT)

Does this work properly if the "container" is an NPC? --Dragoon Wraith TALK 03:24, 29 May 2006 (EDT)

I am not home atm but this would be a very useful piece of information. Someone has to research this command properly. It could be a very powerful command in some mods.Decoup 05:03, 29 May 2006 (EDT)
Of course it does. See examples here Variable_types:_reference_variables--JOG 11:07, 29 May 2006 (EDT)

I had the situation that GetContainer returned 0 when I added an item to an NPC that had already left the player area. Low level processing was on. --Fore 17:38, 8 August 2010 (EDT)