UseInventory
From Eternity Wiki
Jump to navigationJump to search
Description
This is an ACS built-in function.
Activates an inventory item held by player activator, if available.
Usage
void UseInventory(str itemname)
Parameters
- itemname: name of inventory artifact to activate
Return value
Examples
No examples given.
Notes
This won't work if there's no player activator.
The item must be of the Heretic kind, which stays in player's possession until player presses a key to activate it. This function does the same action on the item. For Doom, this function will be usable only in mods which introduce usable items.
This function's identification in zspecial.acs is: ACC internal.