Background for Skyrim SE
Member of the Actor script
floatfunctionGetActorValuePercentage(stringasValueName)Native

Description

Wiki Description

Gets the specified actor value from the actor as a percentage of its maximum value (from 0 to 1).

Documentation Comment

Gets the specified actor value as a percentage of its max value - from 0 to 1


Caveats

CK Wiki - Notes

  • The examples concerning calculations after buffs may be off.
  • This function will always return 1.0 for CarryWeight.
  • This function will always return 1.0 if the actor value's maximum is zero.

Parameters

  1. stringasValueName

    CK Wiki Description

    The name of the actor value to get the value of. Actor Value List


Examples

No human-generated examples found for this function.

Auto-Generated Example

string myString__asValueName

float returnedValue = myActor__toCallFunctionOn.GetActorValuePercentage(myString__asValueName)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.