TheRecusantX Posted March 10, 2020 Share Posted March 10, 2020 So I made a spell with 2 magic effects. 1 will trigger on a dead male body of non elf races and the other effect will only trigger on a dead female elf race. The 1. Effect works exactly as intended The 2. Effect somehow works on any dead female regardless of race instead of working on elven females only The conditions for the second effect are as follows: GetDead = 1 andGetissex female = 1 andGetisrace highelf = 1 orGetisrace darkelf = 1 orGetisrace woodelf = 1 orGetisrace snowelf = 1 or For some reason this effect works on any female of any race still. Even though I did the exact same conditions but with male and humanoid races on the first effect which works as intended... Help pls Link to comment Share on other sites More sharing options...
IsharaMeradin Posted March 10, 2020 Share Posted March 10, 2020 Try excluding the races you do not want and seeing what happens GetDead = 1 AndGetIsSex female = 1 AndGetIsRace Nord = 0 AndGetIsRace Breton = 0 AndGetIsRace Imperial = 0 AndGetIsRace Khajiit = 0 AndGetIsRace Argonian = 0 And etc... Link to comment Share on other sites More sharing options...
TheRecusantX Posted March 10, 2020 Author Share Posted March 10, 2020 That would have been my last resort since I would also have to exclude any creature race I didnt want which would mean an extremely long conditions list. I specifically need this to work by including the races I want it to affect. ill try changing around the order of the conditions tomorrow ... Thx for the reply :) Link to comment Share on other sites More sharing options...
ReDragon2013 Posted March 10, 2020 Share Posted March 10, 2020 (edited) You wrote: ".. I did the exact same conditions but with male and humanoid races on the first effect which works as intended"unfortunately you didn't post the working condition for the male effect Maybe you could avoid race conditions by using voicetype check as follow. We also assume the Target conditions run on Target (not on Subject). Vampire [KYWD:000A82BB] MaleElfHaughty [VTYP:00013AF0] FemaleElfHaughty [VTYP:00013AF1] Target Func.Name Func.Info COMP Value effect(1) male ------------------------------------------------------------------- T GetDead NONE == 1.00 AND T HasKeyword Keyword: 'Vampire' == 0.00 AND T GetIsVoiceType VoiceType: 'MaleElfHaughty' == 1.00 AND Target Func.Name Func.Info COMP Value effect(2) female ------------------------------------------------------------------- T GetDead NONE == 1.00 AND T HasKeyword Keyword: 'Vampire' == 0.00 AND T GetIsVoiceType VoiceType: 'FemaleElfHaughty'== 1.00 AND Edited March 10, 2020 by ReDragon2013 Link to comment Share on other sites More sharing options...
TheRecusantX Posted March 10, 2020 Author Share Posted March 10, 2020 Thx for the reply but I already managed to fix it. Turns out for some reason the order of the conditions o the second effect was wrong. Putting the is female condition under an or condition so it never really checked which race the female was since being female alone would already fulfill the condition. To anyone facing a similar problem: make sure the order of your conditions makes sense.( It goes from top to bottom) Link to comment Share on other sites More sharing options...
cumbrianlad Posted March 11, 2020 Share Posted March 11, 2020 I've been following this, though I didn't feel I had anything to add. You say its sorted and I know about the order counting, from top to bottom, but I'm missing something. The conditions in the original post looked right to me. You said in the last post that "Putting the 'IsFemale' condition under an 'OR' condition" was the issue. The 'IsFemale' condition is under an 'AND' statement in the original post. To me that was right. Did you type the wrong conditions in the original post? Link to comment Share on other sites More sharing options...
TheRecusantX Posted March 12, 2020 Author Share Posted March 12, 2020 I actually typed the conditions in the right order in the OP :D But in my mod it wasnât working properly because the is female and condition was at the bottom ... Link to comment Share on other sites More sharing options...
Recommended Posts