- Found in:
- iEquip
eventOnBoundWeaponUnequipped(Weapona_weap, inta_unequipSlot)
Description
Documentation Comment
@brief Fires whenever the player unequips a bound weapon.
@param a_weap The weapon unequipped.
@param a_unequipSlot The slot the weapon was unequipped from.
VALID SLOTS:
0 - ERROR
1 - Right hand
2 - Left hand
3 - Both hands
Parameters
Weapona_weap
inta_unequipSlot
Examples
Auto-Generated Example
Scriptname MyCoolScript extends iEquip_FormExt
event OnBoundWeaponUnequipped(Weapon a_weap, int a_unequipSlot)
Debug.trace("Event received - OnBoundWeaponUnequipped: a_weap = " + a_weap + " a_unequipSlot = " + a_unequipSlot)
endEvent