Returns the total number of the given entity currently in the game. If @entityType is provided then the entity is matched to its type. The value of @entity may be one or more keywords, an id, or a pointer.
If the @entityType is not provided and @entity is not a pointer, then the matching may be ambiguous between items and mobiles. In such cases the mobile is given preference.
NOTE: %npcGetLoadCount() and %itemGetLoadCount() are much better functions. |