Osiris/API/CharacterGetHitpointsPercentage

From Divinity Engine Wiki
Revision as of 12:34, 20 December 2017 by Tinkerer (talk | contribs) (Documented CharacterGetHitpointsPercentage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Definition(s)
  • query CharacterGetHitpointsPercentage([in](CHARACTERGUID)_Character, [out](INTEGER)_Percentage)
Description

Returns the percentage of hit points a character has left relative to its current maximum hit points.

Return Values
  • Success/Failure: Fails if _Character is NULL or invalid.
  • _Percentage: The percentage of hit points that Character has left.
Notes
  • /
See Also