Instructions/Get Health: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
(No difference)

Revision as of 19:50, 11 September 2023


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