I have a item display script that uses some functions similar to the vanilla weapon rack. However, just like the vanilla rack, there are some weapons that refuse to mount. For example Ghost blade and Ebony Blade.
the papyrus error i get is:
error: Unable to call Is3DLoaded - no native object bound to the script object, or object is of incorrect typestack:[Item 1 in container (0300300E)].defaultDisableHavokOnLoad.Is3DLoaded() - "this error happens on the following line in the script:" Line ?
ObjectReference MountedItem = DropObject(akBaseItem)While (!MountedItem.Is3dLoaded); etc etcEndWhile
basically mountedItem returns a value of ([Item 1 in container (0300300E)].defaultDisableHavokOnLoad) instead of a form ID.... no idea why. i think it has something to do with a quest screwing up these items somehow.
i can launder out this error if i use PlaceAtMe then RemoveItem on the original, and everything works great. of course the potential downside to this is that when the player takes the item off of the display rack, the item is a CLONE of the original item with a reference ID starting with FF, and not the original editor ref ID.
Now, most of the time with quest items, you cant even remove it from your inventory in the first place. but if this is something that is running in an active alias and not designated a quest item, i think the clone will no longer be filling the alias, and the original (filled in the alias) will be sent into oblivion, remaining persistent somewhere in between planes of reality LOL.
tl;dr version - my question is why the hell is MountedItem returning [Item 1 in container (0300300E)].defaultDisableHavokOnLoad after the DropObject call, when in the event OnItemAdded, akBaseItem returns the proper form ID of the base item and akItemReference returns the original editor REFR id
