From ZDoom Wiki
int UseActorInventory (int tid, str classname)
Forces the actor(s) with the specified tid to use an item from their inventory, if they have one.
- tid: TID of the actor(s) that will attempt to use the item. If 0, this forces all players to use the item instead.
- classname: The inventory item to be used.
The return value is the number of actors who used the item successfully.
|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.|