GetObjectNeedsHealing(object, int)
Determines whether a creature is damaged to a point of its original HP.
int GetObjectNeedsHealing( object oMostDamagedMember, int nPercent );
Parameters
oMostDamagedMember
The creature to check for damage.
nPercent
The percent at which the creature needs healing (1-100).
Description
Returns TRUE if oMostDamagedMemeber has less than nPercent of its original HP.
Remarks
This function actually is found in multiple script files nw_cd_lv123, nw_cd_lv203, nw_cd_lv23, nw_cd_lv73.
Requirements
#include "nw_cd_lv123"
Version
1.22
See Also
categories: | Get Data from Creature Functions |
author: Tom Cassiotis