SetItemRefCurrentHealth
Revision as of 16:54, 2 July 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the current health of the calling item. Unlike SetEquippedCurrentHealth, this function is called on an <i>inventory reference</...")
< [[::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