GetContainerInventoryCount
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
Used to check if a container has a specific amount (count) of items in it.
Syntax
(itemCount:int) [container:ref].GetContainerInventoryCount
Example
if MyContainerREF.GetContainerInventoryCount == 0 ; ''if the container is empty''
MyContainerREF.AddItem Caps001 100
endif
Example
if MyContainerREF.GetContainerInventoryCount >= 1 ; ''if the container has something''
Return
EndIf