McMutton Posted July 4, 2012 Share Posted July 4, 2012 I've recently gotten that Sweep mod that allows you to hit multiple characters with a single swing. As an unforeseen consequence, I tend to get into trouble when there are guards or allies in the fray, as you might imagine. So, anyone know how I could make an enchantment or something that would make a weapon do no damage to anything that isn't hostile to me, or an enemy? I'm thinking that I know what to do for the 'no damage' part, but I'm unsure of how I would go about making it effect my friends and such. Link to comment Share on other sites More sharing options...
AurianaValoria1 Posted July 4, 2012 Share Posted July 4, 2012 I'm thinking that maybe you would have to make it scripted not to harm anyone above a certain disposition level....? :unsure: Link to comment Share on other sites More sharing options...
Woverdude Posted July 5, 2012 Share Posted July 5, 2012 The only thing that I can think of is to replace the weapon's normal damage with an enchantment that does the same amount, but has the IsHostileToActor == 0 condition. The damage wouldn't scale over time, but it wouldn't hurt allies. :-/ Link to comment Share on other sites More sharing options...
McMutton Posted July 6, 2012 Author Share Posted July 6, 2012 A step in the right direction for sure, Wover. Thank'eh. For now, unchecking Hostile in the weapon's settings is working well enough, although I still kill guards all the time. Link to comment Share on other sites More sharing options...
Korodic Posted July 8, 2012 Share Posted July 8, 2012 Once SKSE comes out with the OnHit event (getting who you hit, as opposed to who hit you) I think it'd be much easier to code. IsHostile would be the real condition. Possibly using a calm effect while restoring their hp and/or temporarily suspending all of your damage as an actor value or something along those lines. Link to comment Share on other sites More sharing options...
Recommended Posts