GetItemCount

From the Oblivion ConstructionSet Wiki
Revision as of 15:55, 27 April 2006 by imported>Slserpent
Jump to navigation Jump to search

Syntax:

 GetItemCount ObjectID


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

if (GetItemCount Gold001 <= 0)
  disable
endif