OnMagicEffectHit

Post » Thu Nov 11, 2010 5:35 pm

Does the onmagiceffecthit block type work in scripted abilities?
User avatar
Felix Walde
 
Posts: 3333
Joined: Sat Jun 02, 2007 4:50 pm

Post » Thu Nov 11, 2010 8:10 am

Does the onmagiceffecthit block type work in scripted abilities?


Yes. It would be onmagiceffecthit SEFF.
User avatar
luis ortiz
 
Posts: 3355
Joined: Sun Oct 07, 2007 8:21 pm

Post » Thu Nov 11, 2010 4:04 am

What I mean is, could an ability work like this, so dispel would remove the ability, or does the block type only work on objects?

scn MyAbilitybegin gamemode     do stuffendbegin onmagiceffecthit DSPL     player.removespell MyAbilityend

User avatar
Lifee Mccaslin
 
Posts: 3369
Joined: Fri Jun 01, 2007 1:03 am

Post » Thu Nov 11, 2010 3:09 pm

What I mean is, could an ability work like this, so dispel would remove the ability, or does the block type only work on objects?

scn MyAbilitybegin gamemode     do stuffendbegin onmagiceffecthit DSPL     player.removespell MyAbilityend



Sorry about that, I see what you're saying now. Yes, that would remove the spell, but only from the Player (which I'm assuming is the desired effect).
User avatar
The Time Car
 
Posts: 3435
Joined: Sat Oct 27, 2007 7:13 pm

Post » Thu Nov 11, 2010 9:40 am

Ok thanks. That's what I wanted to know. On the topic of the dispel effect, what would happen if you made a constant effect enchantment or ability with it? Would it only have an effect when first equipped, or would it effectively provide immunity to all spells, friendly and hostile, with magicka costs below the dispel magnitude?
User avatar
Manny(BAKE)
 
Posts: 3407
Joined: Thu Oct 25, 2007 9:14 am


Return to IV - Oblivion