From Divinity Engine Wiki
- query CharacterGetHitpointsPercentage([in](CHARACTERGUID)_Character, [out](INTEGER)_Percentage)
Returns the percentage of hit points a character has left relative to its current maximum hit points.
- Success/Failure: Fails if _Character is NULL or invalid.
- _Percentage: The percentage of hit points that Character has left.