EquipItemData

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Similar to EquipItem, but allows specification of health and weapon mod flags. Also triggers OnEquip events.

  • You can pass -1 as the itemHealth argument to ignore it when matching weapon mod flags.

Syntax

[help]
reference.EquipItemData item:form itemHealth:float modFlags:int noUnequip:0/1 noMessage:0/1

Example

rActorRef.EquipItemData Weap10mmSubmachineGun -1 5 

See Also