GetContainerInventoryCount

Revision as of 07:12, 8 April 2016 by imported>Jokerine

Description

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

Syntax

[ContainerREF].GetContainerInventoryCount amount

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