GetCurrentHitPoints(object)

Determines the number of hit points someone currently has.

int GetCurrentHitPoints(
    object oObject = OBJECT_SELF
);

Parameters

oObject

The object whose hitpoints we are to retrieve. (Default: OBJECT_SELF)


Description

Returns the number of hitpoints oObject has and 0 if oObject is invalid.



Version

1.22

See Also

functions: GetMaxHitPoints | GetPercentageHPLoss
categories: Get Data from Creature Functions | Get Data from Object Functions


 author: Tom Cassiotis
 Send comments on this topic.