UseInventory

From ZDoom Wiki

Jump to: navigation, search

int UseInventory (str classname)


Forces the activator to use the specified inventory item, if he has it. The return value is true if the item was used successfully, or false if not.

Examples

Image: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 contibutions are greatly appreciated.
Personal tools