Osiris/API/ItemGetHealthPoints

From Divinity Engine Wiki
Revision as of 13:54, 20 December 2017 by Tinkerer (talk | contribs) (Documented ItemGetHealthPoints)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query ItemGetHealthPoints([in](CHARACTERGUID)_Item, [out](INTEGER)_HP)
Description

Returns the number of health points an item has left.

Return Values
  • Success/Failure: Fails if _Item is NULL or invalid.
  • _HP: The number of hitpoints _Item has left. If the item is destroyed, this will be zero.
Notes
  • /
See Also