Spell with 2 mutually exclusive magic effects.

Post » Fri Jan 18, 2013 2:30 pm

I had the following idea: dual casting a spell adds AOE to that spell. To implement it, I did the following:

First I created 2 magic effects. They were identical in every aspect but one had the 'No Area' flag checked while the other didn't.
Then I created a spell that included both magic effects. the AOE magic effect had the condition 'IsDualCasting = 1', the non-AOE magic effect had the condition 'IsDualCasting = 0'.

By doing this, I expected that only one effect would be casted at any given time: the AOE one when dual casting and the non-AOE one when single casting. Unfortunately it didn't work. Do you guys have any idea as to why?

Thanks in advance.
User avatar
Wayne Cole
 
Posts: 3369
Joined: Sat May 26, 2007 5:22 am

Post » Fri Jan 18, 2013 2:19 pm

ok, I am very tired so maybe I am not reading your post right, but...

you do know that spell conditions run on the TARGET not the caster.


I had the following idea: dual casting a spell adds AOE to that spell. To implement it, I did the following:

First I created 2 magic effects. They were identical in every aspect but one had the 'No Area' flag checked while the other didn't.
Then I created a spell that included both magic effects. the AOE magic effect had the condition 'IsDualCasting = 1', the non-AOE magic effect had the condition 'IsDualCasting = 0'.

By doing this, I expected that only one effect would be casted at any given time: the AOE one when dual casting and the non-AOE one when single casting. Unfortunately it didn't work. Do you guys have any idea as to why?

Thanks in advance.
User avatar
Terry
 
Posts: 3368
Joined: Mon Jul 09, 2007 1:21 am


Return to V - Skyrim