Data:Instruction:Get Health: Difference between revisions

From Desynced Wiki
No edit summary
m (Pywikibot 10.3.1)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
|name = Get Health
|name = Get Health
|luaId = get_health
|luaId = get_health
|description = Gets a units health as a percentage, current and max
|description = Gets a unit's health as a percentage, current remaining and max amount
|category = Math
|category = Math
|icon = H Value.png
|icon = H Value.png
|explaination = Gets health values for a Unit. Defaults to the unit the behavior is executing on.
<hl>Percent</> is the current health as a percentage of max health
<hl>Current</> is the actual amount of health points left
<hl>Max</> is the maximum amount of health points
Optional <hl>Unit</> parameter to specify a different unit in your faction.
|argsType1 = Input
|argsType1 = Input
|argsName1 = Entity
|argsName1 = Unit
|argsDescription1 = Entity to check
|argsDescription1 = Unit to check
|argsDataType1 = entity
|argsDataType1 = entity
|argsType2 = Output
|argsType2 = Output

Latest revision as of 07:09, 12 August 2025

Redirect to: