- Found in:
- iEquip
eventOnBoundWeaponEquipped(inta_weaponType, inta_equipSlot)
Description
Documentation Comment
@brief Fires whenever the player equips a bound weapon.
@param a_weaponType The type of weapon equipped.
VALID TYPES:
00 - Hand-to-hand melee
01 - One-handed sword
02 - One-handed dagger
03 - One-handed axe
04 - One-handed mace
05 - Two-handed sword
06 - Two-handed axe
07 - Bow
08 - Staff
09 - Crossbow
10 - Hand-to-hand melee
11 - One-handed sword
12 - One-handed dagger
13 - One-handed axe
14 - One-handed mace
15 - Two-handed sword
16 - Two-handed axe
17 - Bow
18 - Staff
19 - Crossbow
@param a_equipSlot The slot the weapon is equipped to.
VALID SLOTS:
0 - ERROR
1 - Right hand
2 - Left hand
3 - Both hands
Parameters
inta_weaponType
inta_equipSlot
Examples
Auto-Generated Example
Scriptname MyCoolScript extends iEquip_FormExt
event OnBoundWeaponEquipped(int a_weaponType, int a_equipSlot)
Debug.trace("Event received - OnBoundWeaponEquipped: a_weaponType = " + a_weaponType + " a_equipSlot = " + a_equipSlot)
endEvent