Instructions/Get Health

From Desynced Wiki
Revision as of 19:50, 11 September 2023 by Johan (talk | contribs) (Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Get Health
     
     Gets a unit's health as a percentage, current remaining and max amount
Lua ID get_health
Category Math
Icon H Value.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description Unit to check
Argument One: Data Type entity
Argument Two: Type Output
Argument Two: Name Percent
Argument Two: Description Percentage of health remaining
Argument Three: Type Output
Argument Three: Name Current
Argument Three: Description Value of health remaining
Argument Four: Type Output
Argument Four: Name Max
Argument Four: Description Value of maximum health



Description

Uses

Similar Instructions