From ZDoom Wiki
int CountInv (string itemtype [, int ptr_select])
- itemtype: the inventory item to count and return.
- ptr_select: the pointer to examine. Default is AAPTR_DEFAULT, which points to the caller of the function. See actor pointers.
Returns the exact count of itemtype an actor has.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|