GetItemHealthPercent - ObjectReference
From Creation Kit
Revision as of 2017-12-01T02:40:39 by Rasikko (Added what the return values represent in terms of improvement quality.)
Member of: ObjectReference Script
Returns the item health percent of this object. Items begin at 100% (1.0) and can be increased via crafting.
float Function GetItemHealthPercent() native
The item health percent of this reference.
- 1.1 = Fine
- 1.2 = Superior
- 1.3 = Exquisite
- 1.4 = Flawless
- 1.5 = Epic
- 1.6 = Legendary
if (SwordRef.GetItemHealthPercent() > 1.0 ) Debug.Trace("Sword has been smithed") endIf