Tes3Mod:GetHealthGetRatio

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


GetHealthGetRatio

                GetHealthGetRatio

        Type:   Stats, Undocumented

     Returns:   float

     Example:   if ( player->GetHealthGetRatio < 0.10 )
                set fValue to ( "Murudius Flaeus"->GetHealthGetRatio )

     Scripts:   Not Used

Returns a float value from 0.0 to 1.0 representing the calling actor's current health to maximum health ratio (i.e., 0.0 would be dead, and 1.0 would be full health). Note that this is the correct name for the GetHealthRatio function listed in the Construction Set help.