Triggering events with summon scrolls

Post » Tue Jun 19, 2012 8:28 am

I need to trigger an event for a script in which summoning a creature specifically with a scroll will trigger an even within the script.

trouble is i'm looking through the papyrus documentation and cant find much that would apply to the situation here.


I would think OnSpellCast would work, but there is no spell associated with the scroll.

and there is OnMagicEffectApply, but it looks like that only works for magic effects that applies onto something. a summon MGEF doesnt exactly "apply" to anything does it? since it is not cast onto anything (fired into blank space)
User avatar
Tessa Mullins
 
Posts: 3354
Joined: Mon Oct 22, 2007 5:17 am

Post » Tue Jun 19, 2012 6:52 pm

You could make that scroll have an additional effect that does apply to something, thus triggering the OnMagicEffectApply. Maybe some buffing effect applied on the very creature it summons? Then a script attached to that creature could make a call to the function in the script you are interested in triggering.
User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am


Return to V - Skyrim