GetContainerInventoryCount

Revision as of 12:06, 26 January 2017 by imported>Pintocat (for search purposes added word count)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

Used to check if a container has a specific amount (count) of items in it.

SyntaxEdit

[ContainerREF].GetContainerInventoryCount amount

ExamplesEdit

 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

See AlsoEdit