I'm making a mod in which a script attached to a player quest alias needs to receive the OnItemAdded event. It doesn't. Like, at all:
Scriptname MyQuestPlayerScript Extends ReferenceAlias
MyQuestScript Property MyQuest Auto
Event OnInit()
Debug.Notification("The player script is initialized.")
EndEvent
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
Debug.Notification("OnItemAdded received.")
EndEventThis script is attached to a quest alias force-filled with the player (Specific Reference: 'PlayerRef'). The MyQuestScript property is properly filled. When I start the game, I see the debug message from OnInit, suggesting that the script is there and it's properly initialized, but then I run around the room picking up items or I add items to the player with the console, and I never see the message from OnItemAdded. Previously, I had some actually useful logic in there, and it wasn't happening, either. The event just isn't being received, and I can't figure out why. Any thoughts?