Difference between revisions of "GetIsInjured"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>DavidJCobb
(more info, from disassembly)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Checks the ''Injured'' boolean variable in the subject actor's animation graph. If the variable is true, this condition returns 1.0. Otherwise, it returns zero.


The ''Injured'' variable is automatically set to true when an actor's health, as a percentage, falls below its [[Race]]'s Injured Health Percentage. (There are other requirements involved that have not yet been decoded; interested reverse-engineers for Skyrim Classic should look near 0x006DFD5F).


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

Latest revision as of 16:16, 26 July 2018

Checks the Injured boolean variable in the subject actor's animation graph. If the variable is true, this condition returns 1.0. Otherwise, it returns zero.

The Injured variable is automatically set to true when an actor's health, as a percentage, falls below its Race's Injured Health Percentage. (There are other requirements involved that have not yet been decoded; interested reverse-engineers for Skyrim Classic should look near 0x006DFD5F).