OwnerDied

From ZDoom Wiki
Jump to navigation Jump to search

Inventory

virtual void OwnerDied ()

Usage

A virtual function called by Inventory items when their owner dies. In the base Inventory class does nothing.

Can be overridden to do perform some kind of an action when the owner of the item dies.

Examples

Nuvolachalk.png 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 contributions are greatly appreciated.


See also