UseInventory

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Activates an inventory item held by player activator, if available.

Usage[edit]

void UseInventory(str itemname)

Parameters[edit]

  • itemname: name of inventory artifact to activate

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

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.

See also[edit]