Jump to content

[LE] OnItemRemoved not being called


Recommended Posts

So, OnItemRemoved will not get called on my script, all the body does is send a notification saying an item was removed. all other events work fine. Neither dropping objects or removing them from inventory works. I have tried everything to get OnItemRemoved to be called. I tried the script on a player referencealias and on a player constant magic effect spell. I tried clearing event filters and adding a filter. I tried having onitemremoved by itself with no other events. I read the wiki but there didn't seem to any special requirements for this to get called. :/

Link to comment
Share on other sites

scriptname PlayerMonitor extends ReferenceAlias

event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
    debug.notification("Item removed")
endevent 

The script is on a alias force filled with the player reference. Quest is priority 0 but I tried it with priority 60. Start game is enabled and I tried it with run once both on and off. I started a new game each ESP change.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...