Difference between revisions of "Talk:OnEquipped - ObjectReference"
Jump to navigation
Jump to search
(→OnEquipped doesn't work properly for stacks of items.: new section) |
TwilightSky (talk | contribs) |
||
Line 10: | Line 10: | ||
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. | 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. --[[User:TwilightSky|TwilightSky]] ([[User talk:TwilightSky|talk]]) 06:23, 28 May 2024 (EDT) |
Latest revision as of 05:23, 28 May 2024
Conditions of triggering the event[edit source]
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 source]
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)