Difference between revisions of "GetHealthPercentage"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
Line 24: Line 24:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]

Latest revision as of 13:23, 15 August 2009

Description[edit | edit source]

GetHealthPercentage Determines how injured an actor is. Health percentage is measured as a value from 0 to 1.0.

Syntax[edit | edit source]

[ActorREF.]GetHealthPercentage 

Examples[edit | edit source]

If JohnDoeRef.GetHealthPercentage < 0.50

Checks to see if John Doe is below 50% of his base health.

Notes[edit | edit source]

  • None at this time


See Also[edit | edit source]

Reference[edit | edit source]

None provided.