Difference between revisions of "GetItemCount"

Jump to navigation Jump to search
42 bytes added ,  05:15, 28 June 2006
Documenting actor functions ... + wikifying
imported>JOG
m
imported>Khadir
(Documenting actor functions ... + wikifying)
Line 1: Line 1:
Returns the number of ObjectID in the actor's inventory. It also works for containers.
{{ActorFunction}}
 
 
 
'''Syntax:'''
'''Syntax:'''
  GetItemCount ObjectID
[''ActorID''|''ContainerID''.]GetItemCount ''ObjectID''
 
 
'''Examples:'''
'''Examples:'''
  if (GetItemCount Gold001 <= 0)
  if (GetItemCount Gold001 <= 0)
   disable
   disable
Line 21: Line 15:
  endif
  endif
   
   
Returns the number of ObjectID in the actor's inventory. It also works for containers.


'''Notes:'''
==Notes==


*You can use a reference variable as ObjectID.  
*You can use a reference variable as ObjectID.  
Anonymous user

Navigation menu