'Actor script' Events in ActiveMagicEffect script

Post » Sun Apr 07, 2013 1:53 pm

http://www.creationkit.com/ActiveMagicEffect_Script

Note that in addition to the events defined below, ActiveMagicEffect scripts also receive events related to the actor to which they are attached. This makes them useful for adding script processing to actors dynamically without using quest aliases.

Does it mean that I could use Actor script Events inside ActiveMagicEffect script and they would be triggered by Actor whom said effect is attached to?

Lets say I cast "Mind Control" on some random mob, he gets MagicEffect script on him - then I want something to happen everytime he changes location: OnLocationChange - http://www.creationkit.com/OnLocationChange_-_Actor%C2%A0

Would it work?
User avatar
Your Mum
 
Posts: 3434
Joined: Sun Jun 25, 2006 6:23 pm

Post » Sun Apr 07, 2013 10:39 am

Yes, actor events fire for the target of the activemagiceffect, as well as objectreference events.
User avatar
Charity Hughes
 
Posts: 3408
Joined: Sat Mar 17, 2007 3:22 pm


Return to V - Skyrim