spell condition dont work

Post » Wed Jan 23, 2013 6:39 am

hi all, sorry my bad english, I was making a spell thats is cast from a script and I want to set a diferent magic effect when the caster is sneaking, without making a new spell for each situation, i mean:

cast a spell from script via:

- spell.cast(caster)

this spell is set as a Lesser Power, Fire and Forget, Aimed
on effect section, I set two effects:

effectA is set with a condition IsSneaking == 0 on subject
effectB is set with a condition IsSneaking == 1 on subject

but when I cast the spell, only the effect on the top position is launched, even when caster is sneaking or not, so, I dont know why this happens...

I tried to make the script that cast a different spell when the caster is sneaking( if caster.isSneaking() ), but I have to make a two spells, one for sneaking and one for no sneaking, and thats make me have a lot of spells, so I was trying to simplify that process this way...any one knows how to do it?
User avatar
Manuel rivera
 
Posts: 3395
Joined: Mon Sep 10, 2007 4:12 pm

Return to V - Skyrim