Lua Events/OnEquipPrimary
< Lua Events(Redirected from Lua Events/OnEquipPrimary)
Event
OnEquipPrimary
Description
Triggered when a character equips an item in its primary slot.
Parameters
- IsoGameCharacter The character who's equipping the item.
- InventoryItem The item that is being equipped in the primary slot.
Examples
local function OnEquipPrimary(character, inventoryItem) -- Your code here end Events.OnEquipPrimary.Add(OnEquipPrimary)