GetItemCanHaveHealth

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.35.

Description

Returns true if the item baseform can be given health data, false otherwise. If baseItem is not provided but a calling item reference is provided, then that reference's baseform is used instead.

Effectively, it will only return true if the item has the Weapon or Armor type.

This function can be used either in a script, or as a Condition.

Syntax

[help]
itemReference.GetItemCanHaveHealth baseItem:baseForm 

See Also