GetItemCount

Revision as of 16:55, 27 April 2006 by imported>Slserpent

Syntax:

 GetItemCount ObjectID


Returns the number of ObjectID in the actor's inventory. It also works for containers.

if (GetItemCount Gold001 <= 0)
  disable
endif