You might want to set the NPC to immortal so his HP wont be reduced below 1 by a lucky crit or something.
You could achieve this by with the NPC's OnDamaged script with these functions:
GetCurrentHitPoints
GetMaxHitPoints
AdjustReputation *
ClearAllActions **
* You might have to create a faction just for the NPC... I don't know, im not that experienced with faction functions.
** Apply this to both, the NPC and the PC.
Modifié par Xardex, 07 avril 2011 - 01:02 .