Talk:OnUnAcquireItem event

The statement "this fires when a PC loses an item" is wrong. This script actually fires when NPCs "drop" items as well. I found this out during an update when I changed the disarm script to bounce items back to inventory and FORGOT to make certain the person losing the item was a PC. As a result it was bouncing the items back to the -dead- NPC(which by then is probably OBJECT_INVALID) and thus the weapons were simply disappearing from the loot bags. I -agonized- for days trying to figure out what the hell could be the cause of this testing removal of scripts(and yes using the script logger regularly to check for what fires). Oddly enough this script will NOT be listed in the script logger when it fires. Why this is? I have no freaking idea. If you don't believe me change the OnUnAcquireItem event in your "test mod" to delete the lost item. You'll find your NPCs won't drop a single thing. 173.170.49.204 06:52, December 6, 2012 (UTC)Highv Priest