CheckActorInventory

From ZDoom Wiki

Jump to: navigation, search
int CheckActorInventory(int tid, str inventory_item);

Usage

Checks the given actor's inventory for the item specified by inventory_item. For a list of possible inventory items, see Inventory.

The function will return the number of items of the given type the actor carries.

Examples

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 add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools