GetItemHealthPercent - ObjectReference
Member of: ObjectReference Script
Returns the item health percent of this object. Items begin at 100% (1.0) and can be increased via crafting.
SyntaxEdit
float Function GetItemHealthPercent() native
ParametersEdit
None.
Return ValueEdit
The item health percent of this reference.
ExamplesEdit
if (SwordRef.GetItemHealthPercent() > 1.0 )
Debug.Trace("Sword has been smithed")
endIf