GetContainerInventoryCount
Revision as of 03:15, 28 March 2015 by imported>Jokerine (Created page with "=='''Description'''== Returns 1 if the specified container reference is '''not''' empty. =='''Syntax'''== ''[ContainerREF]''.GetContainerInventoryCount == 0/1 =='''Exampl...")
Description
Returns 1 if the specified container reference is not empty.
Syntax
[ContainerREF].GetContainerInventoryCount == 0/1
Examples
if MyContainerREF.GetContainerInventoryCount == 0 ; if the container is empty MyContainerREF.AddItem Caps001 100 endif
if MyContainerREF.GetContainerInventoryCount >= 1 ; if the container has something Return EndIf