GetContainerInventoryCount
Jump to navigation
Jump to search
Description[edit | edit source]
Used to check if a container has a specific amount (count) of items in it.
Syntax[edit | edit source]
[ContainerREF].GetContainerInventoryCount amount
Examples[edit | edit source]
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