User talk:TwilightSky

From the CreationKit Wiki
Revision as of 17:03, 29 May 2024 by TwilightSky (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I'm actually trying to fix the OnEquipped behavior with CommonLib but I've hit a brick wall. My original idea was to somehow force the object's OnEquipped function to run through a SKSE function, as from what I've tested the TESEquipEvent does in fact work for stacks of items (even after a reload). However there is no way to get a reference to an object in a container (or inventory) so I don't see a way to make a workaround on that front.

Do you have any ideas? It really blows my mind that this bug has gone unfixed for over a decade.

I have little experience with CommonLib in that I haven't dived that deep into code to know what to look for, for such things. Your brick wall though is a notorious one. Whenever someone needs to parse a container they always run into that wall because the objects inside are only the forms. One thing I tried in Fallout 4 was just dumping the items on the ground and getting the reference that way but that came with its own problems. --TwilightSky (talk) 18:03, 29 May 2024 (EDT)