Jump to content

Is there a way to attach scripts to Scroll baseobjects?


Recommended Posts

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.

Link to comment
Share on other sites

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 OnContainerChange

Use OnObjectEquipped / OnObjectUnequipped instead of OnEquip / OnUnequip

Link to comment
Share on other sites

  • Recently Browsing   0 members

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