SetItemRefCurrentHealth

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets the current health of the calling item. Unlike SetEquippedCurrentHealth, this function is called on an inventory reference. The calling item reference does not have to be equipped.

Syntax

(success:0/1) reference.SetItemRefCurrentHealth newHealth:float

Example

rItemRef.SetItemRefCurrentHealth 185

See Also