(Redirected page to Get Health) Tags: New redirect Manual revert |
m (Pywikibot 10.3.1) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|name = Get Health | |name = Get Health | ||
|luaId = get_health | |luaId = get_health | ||
|description = Gets a | |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 = | |argsName1 = Unit | ||
|argsDescription1 = | |argsDescription1 = Unit to check | ||
|argsDataType1 = entity | |argsDataType1 = entity | ||
|argsType2 = Output | |argsType2 = Output | ||
Line 36: | Line 43: | ||
|argsDescription7 = | |argsDescription7 = | ||
|argsDataType7 = | |argsDataType7 = | ||
|argsType8 = | |||
|argsName8 = | |||
|argsDescription8 = | |||
|argsDataType8 = | |||
|argsType9 = | |||
|argsName9 = | |||
|argsDescription9 = | |||
|argsDataType9 = | |||
|argsType10 = | |||
|argsName10 = | |||
|argsDescription10 = | |||
|argsDataType10 = | |||
|argsType11 = | |||
|argsName11 = | |||
|argsDescription11 = | |||
|argsDataType11 = | |||
}}{{DataTableIndex | }}{{DataTableIndex | ||
|storedTable=instruction | |storedTable=instruction | ||
|name=Get Health | |name=Get Health | ||
}}</noinclude> | }}</noinclude> |