Morrowind Mod:GetHealthGetRatio
< Mod / Morrowind: Morrowind Mod: Alphabetical Functions / Categorical FunctionsGetHealthGetRatio
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.