Description
Wiki Description
Returns the item health percent of this object. Items begin at 100% (1.0) and can be increased via crafting.
Documentation Comment
Returns the smithed health of this object reference (1.0 == 100%)
Caveats
CK Wiki - Notes
- If this function is called on a ref that isn't an item, or a ref whose health percent has somehow been manipulated to be a value less than 1, then this function will return 1.
Examples
if (SwordRef.GetItemHealthPercent() > 1.0 )
Debug.Trace("Sword has been smithed")
endIfAuto-Generated Example
float returnedValue = myObjectReference__toCallFunctionOn.GetItemHealthPercent()