GetNumCrippledLimbs
From GECK
A function added by the ShowOff NVSE Plugin.
Contents
Description
Returns the amount of crippled limbs the calling actor has.
The "isCrippled" check is performed by checking if the Actor Value for that limb's condition is at or below 0. The minimum amount of health for a limb to be considered "crippled" by this function can be modified by changing healthThreshold.
Syntax
(numCrippledLimbs:int) ActorRefr.GetNumCrippledLimbs healthThreshold:int
Example
SunnyRef.GetNumCrippledLimbs
Returns the amount of crippled limbs SunnyRef has.
Player.GetNumCrippledLimbs 50
Returns the Player's amount of limbs which which are at or below 50% health.