SetItemRefCurrentHealth

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

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

Example

rItemRef.SetItemRefCurrentHealth 185

See Also