Havenost Posted December 11, 2015 Share Posted December 11, 2015 Can anyone help me out with GECK for FNV... trying to create a mod to give karma for mercy killing people who have been crucified, but even when I set their alignment from neutral to evil... nothing happens? I even checked the little Evil box in the crucified faction tab. If I have to set up a trigger or script for how do I do that? Cause when I searched the *All section by typing in Karma, nothing useful shows up... just the sounds, the help messages, and the Karma variables that can't be edited or open. Link to comment Share on other sites More sharing options...
Jokerine Posted December 11, 2015 Share Posted December 11, 2015 You need to give each NPC a script with an OnDeath block, with RewardKama. A script like this below should do. scn NegativeKarmaOnDeathScript begin OnDeath RewardKarma -75 end Attach it to each of your NPCs and they should give negative karma when killed, as long as it was the player that did it. Not sure what will happen if it was other NPCs that killed them :P Link to comment Share on other sites More sharing options...
Havenost Posted December 11, 2015 Author Share Posted December 11, 2015 You need to give each NPC a script with an OnDeath block, with RewardKama. A script like this below should do. scn NegativeKarmaOnDeathScript begin OnDeath RewardKarma -75 end Attach it to each of your NPCs and they should give negative karma when killed, as long as it was the player that did it. Not sure what will happen if it was other NPCs that killed them :tongue: Thanks! I will see if that works. Cause the odd thing about killing npcs on the crucifixes is that you don't get any exp or anything such as karma or reputation for doing so. But if you kill one then use the console command and resurrect them... you suddenly get exp from them. So hopefully its simple as you suggested, otherwise guess I am going to have to scrape through scripts. Link to comment Share on other sites More sharing options...
Jokerine Posted December 11, 2015 Share Posted December 11, 2015 Let me know if it works :) Link to comment Share on other sites More sharing options...
Ladez Posted December 11, 2015 Share Posted December 11, 2015 Not sure what will happen if it was other NPCs that killed them :tongue: It will reward karma regardless. ;) If you want to only give karma when it is the player doing the killing, this modified script should do it: scn NegativeKarmaOnDeathScript begin OnDeath if IsKiller player RewardKarma -75 endif end Link to comment Share on other sites More sharing options...
Jokerine Posted December 11, 2015 Share Posted December 11, 2015 Derp, leave it to me to forget such a basic line of code :laugh: Link to comment Share on other sites More sharing options...
Ladez Posted December 11, 2015 Share Posted December 11, 2015 Eh, there's too many functions to remember. I look them up when needed, as I did just now. :tongue: Link to comment Share on other sites More sharing options...
Recommended Posts