New Magic Effect not firing OnEffectStart()?

Post » Wed Jun 20, 2012 2:18 pm

I made a new spell, and then made a magic effect for it. It has a very simple script attached to it that basically gets an actor from a variable in another script via casting and then uses "Cast()" to have that actor cast a spell.

However, after adding a cast time to the spell itself (not the magic effect) the spell no longer worked. So I commented out all of the code in the script and put in a "Debug.MessageBox()" The messagebox never appears!

The magic effect and the spell both have no conditions. It is script archetype, fire and forget, self targetted, no duration/magnitude/area. So why is OnEffectStart() not firing?
User avatar
Quick draw II
 
Posts: 3301
Joined: Thu Nov 08, 2007 4:11 pm

Post » Wed Jun 20, 2012 1:26 pm

This is extremely frustrating. Anyone know why giving a spell an overrided cast time would for some reason cause OnEffectStart() to not fire?
User avatar
Benito Martinez
 
Posts: 3470
Joined: Thu Aug 30, 2007 6:33 am


Return to V - Skyrim