SamHe11 Posted July 20, 2021 Posted July 20, 2021 There is no papyrus field for these objects to attach scripts to them. I'd like to be able to call some events on a scroll I've made (OnContainerChange, OnEquip, OnUnequip, etc) like any other base weapon or item, but can't figure out how to do it. There isn't much documentation floating on the Creation kit or Google to accomplish this either. Any suggestions? NOTE: I'm not asking how to attach a script to the Magic Effect of the spell the scroll casts.... I'm trying to attach a script to the actual base object of the scroll itself. Thanks.
IsharaMeradin Posted July 20, 2021 Posted July 20, 2021 Flip the viewpoint... Create a quest with a player alias. Use an inventory event filter for the scroll(s) you want to work with.Use OnItemAdded / OnItemRemoved instead of OnContainerChangeUse OnObjectEquipped / OnObjectUnequipped instead of OnEquip / OnUnequip
SamHe11 Posted July 20, 2021 Author Posted July 20, 2021 That makes sense. I can think of a couple other scripting dead ends this method might also help with. Thanks for the response.
Recommended Posts