I have a small problem. I have a script which looks like this:
Event OnAnimationEvent(ObjectReference akSource, string asEventName)Debug.MessageBox(hasWornKeyword(keyword1))EndEventEvent OnLoad()RegisterForAnimationEvent(Self, "bowDrawStart")EndEvent
Where keyword is a keyword which is attached to an item which I (and Mjoll) are wearing. This works when attached to mjoll by opening her up in the object window and putting the script there. But it doesn't work when I attach it to a quest.
I want to have the same script for player and NPC, should I do something else than attaching it to a quest? Will self not refer to the player if I attach it to a quest?
EDIT: I realize the title isn't a very good one. Sorry about that
