GetContainerInventoryCount

Revision as of 03:18, 28 March 2015 by imported>Jokerine

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

See Also