Background for Fallout 4
Member of the ObjectReference script
floatfunctionGetItemHealthPercent()Native

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


Examples

if (SwordRef.GetItemHealthPercent() > 1.0 )
  Debug.Trace("Sword has been smithed")
endIf

Auto-Generated Example

float returnedValue = myObjectReference__toCallFunctionOn.GetItemHealthPercent()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.