darkdill Posted April 13, 2013 Share Posted April 13, 2013 I'm trying to tweak a custom silence effect (it actually just applies a massive Drain Magicka effect for a few seconds), but I want to make it so that it can affect all types of undead EXCEPT for Dragon Priests. (I currently have it so it can't affect Dragons, Dwemer automatons, and the DLC bosses.) This would be easy to do if there were an "ActorTypeDragonPriest" keyword, but there isn't. Closest you can get is "ActorTypeUndead". Any ideas on how this could be done? I'm currently going by a "GetinFaction" function, but I don't think that's the best idea. Link to comment Share on other sites More sharing options...
gsmanners Posted April 13, 2013 Share Posted April 13, 2013 You could look for their special faction. Link to comment Share on other sites More sharing options...
blazeda59 Posted April 13, 2013 Share Posted April 13, 2013 (edited) Try putting a condition in your spell's magic effect "GetIsRace" select the dragon priest as the race, set value to zero and run it on target. If that doesn't work try running it on combat target instead. I did something similar for a spell that was only cast if the target was a dragon so I'm guessing it should work in reverse. Edit: I was just thinking that should work but it will make it that you cant cast the spell on them at all not just be immune to its effects. Another thing you could try is making another spell with 100% resistance to you spell and then just give that spell to the dragon priest race. Just make sure its a constant effect and doesnt consume magika so they can use it forever. Edited April 13, 2013 by blazeda59 Link to comment Share on other sites More sharing options...
Recommended Posts