GetWidgetLife

Parameters
whichWidget widget

target widget.

comment

Returns target's health points on succcess. Returns 0.0 if widget was removed or is null.

note

See: SetWidgetLife. See widget for an explanation how this applies to units, destructables, items.

return type
real
Source code
native GetWidgetLife takes widget whichWidget returns real
Source
widget.j
wc3modding.com
GetWidgetLife