Background for Skyrim SE
Member of the iEquip_InventoryExt script
eventOnRefHandleActive(Forma_item, inta_refHandle, inta_itemCount)

Description

Documentation Comment

@brief Fires whenever an item of a tracked type is added to the player's inventory.
@param a_item The form of the item added.
@param a_refHandle The handle for identifying the item.
@param a_itemCount The number of items added.
@notes Tracked types include:

  • Weapon
  • Armor

Parameters

  1. Forma_item

  2. inta_refHandle

  3. inta_itemCount


Examples

Auto-Generated Example

Scriptname MyCoolScript extends iEquip_InventoryExt

event OnRefHandleActive(Form a_item, int a_refHandle, int a_itemCount)
    Debug.trace("Event received - OnRefHandleActive: a_item = " + a_item + " a_refHandle = " + a_refHandle + " a_itemCount = " + a_itemCount)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.