MadMike710 Posted January 9, 2011 Share Posted January 9, 2011 Ok I've tried and failed. Now I realise that I'm bad at scripting. :P What I want is a mod that makes a spell/enchantment that checks if the target is an enemy. I was thinking "if (GetDisposition Ref < 10) kill".So anyone with disposition 10 or below towards the player dies.If their disposition is above, nothing happens. I'm a total newbie at scripting btw so my guess is very wrong. :P Anyone want to make it?A staff or spell?Or even a sword/mace/dagger/hammer/axe? Link to comment Share on other sites More sharing options...
Deleted1848331User Posted January 9, 2011 Share Posted January 9, 2011 (edited) You can try this script: scn scriptname Ref Self Begin ScriptEffectStart Set Self to GetSelf If (Self.GetDisposition Player <= 10) Self.kill ElseIf (Self.GetDispostion Player > 10) Return Endif end I believe that would work. Edited January 9, 2011 by Guest Link to comment Share on other sites More sharing options...
MadMike710 Posted January 10, 2011 Author Share Posted January 10, 2011 You can try this script: scn scriptname Ref Self Begin ScriptEffectStart Set Self to GetSelf If (Self.GetDisposition Player <= 10) Self.kill ElseIf (Self.GetDispostion Player > 10) Return Endif end I believe that would work. Yep. Worked great, thanks.I almost lost it when it said "GetDisposition" not recognized as a function but then I realized the spelling error, in your script it said "Dispostion" (not that it matters). :) Link to comment Share on other sites More sharing options...
Recommended Posts