Talk:OnEquipped - ObjectReference
Active discussions
Conditions of triggering the eventEdit
As mentioned in my recent edit to the page, the event won't always fire. Depending on the way it was equipped it may or may not work. So far what I know about it is:
- If the item is being equipped through the inventory, it will work.
- If the item is being equipped via a papyrus function EquipItem - Actor it will not fire.
- If the item is being equipped via a consoel command EquipItem it will not fire.
I think these rules also apply to OnUnequipped - ObjectReference and the functions for Actor Script such as OnObjectEquipped - Actor and OnObjectUnequipped - Actor. Unfortunately, I won't be able to test things through for the time being.
OnEquipped doesn't work properly for stacks of items.Edit
The event doesn't seem to work properly with items that are stacked. To replicate: acquire 2 or more of an item that contains a script with an OnEquipped event, then save and reload. The stack of items will be nonfunctional until you reduce the stack size down to 1.
- Though I haven't personally verified this myself, I'd suspect this could be an issue with OnObjectEquipped - Actor as well. --TwilightSky (talk) 06:23, 28 May 2024 (EDT)