GetContainerInventoryCount

Revision as of 02:36, 4 October 2015 by imported>Jokerine (→‎Description)

Description

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

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

See Also