Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

That makes sense. I can think of a couple other scripting dead ends this method might also help with.

 

Thanks for the response.

  • Recently Browsing   0 members

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