Table of Contents

Method RunEquip

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

RunEquip(NwItem, InventorySlot)

Instruct this creature to instantly equip the specified item.

public bool RunEquip(NwItem item, InventorySlot inventorySlot)

Parameters

item NwItem

The item to equip.

inventorySlot InventorySlot

The inventory slot to equip the item to.

Returns

bool

True if the item was successfully equipped, otherwise false.

Exceptions

ArgumentNullException

Item is null.

RunEquip(NwItem, EquipmentSlots)

Instruct this creature to instantly equip the specified item.

public bool RunEquip(NwItem item, EquipmentSlots equipmentSlot)

Parameters

item NwItem

The item to equip.

equipmentSlot EquipmentSlots

The equipment slot to equip the item to.

Returns

bool

True if the item was successfully equipped, otherwise false.

Exceptions

ArgumentNullException

Item is null.