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
. Seewidget
for an explanation how this applies to units, destructables, items.- patch
1.00
- Source
- common.j
- return type
real
- Source code
native GetWidgetLife takes widget whichWidget returns real