Osiris/API/CharacterGetHitpointsPercentage

From Divinity Engine Wiki
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