Difference between revisions of "GetActorValuePercent"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>Egocarib
 
Line 1: Line 1:
Returns the current value of the indicated Actor Value as a percentage of its maximum.


The return value will be between 0 and 1
For example: if you check GetActorValuePercent on an actor's Health, and the actor only has 45% of their Health left, this function will return 0.45


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 22:44, 23 April 2014

Returns the current value of the indicated Actor Value as a percentage of its maximum.

The return value will be between 0 and 1

For example: if you check GetActorValuePercent on an actor's Health, and the actor only has 45% of their Health left, this function will return 0.45