GetObjectNeedsHealing

From NWN Lexicon



Contents

[edit] GetObjectNeedsHealing(object, int)

Determines whether a creature is damaged to a point of its original HP.

int GetObjectNeedsHealing(
    object oMostDamagedMember,
    int nPercent
);

[edit] Parameters

oMostDamagedMember

The creature to check for damage.

nPercent

The percent at which the creature needs healing (1-100).


[edit] Description

Returns TRUE if oMostDamagedMemeber has less than nPercent of its original HP.



[edit] Remarks

This function actually is found in multiple script files nw_cd_lv123, nw_cd_lv203, nw_cd_lv23, nw_cd_lv73.


[edit] Requirements

#include " nw_cd_lv123 "

[edit] Version

1.22

[edit] See Also



 author: Tom Cassiotis
 

Personal tools
Categories