ligma0094 Posted August 4 Posted August 4 Was playing unethical deeds with dust, found myself capturing npcs to preserve sanity. Wasn't getting XP, so I wrote a script to give myself the XP when I capture them. I dont want them to give me the xp again if I kill them (even if released), but I have no idea how to do it (this is my first ever script). Anyone got any suggestions? From what I can gather the mod shoves every captured NPC into a list, and removes them when released. I figure there might be something in NX.
sen4mi Posted August 4 Posted August 4 Hypothetically speaking, you could set iXPRewardKillNPC___ and iXPRewardKillNPC___ to zero. If I understand correctly, this would prevent all experience from killing anything. You would then have to arrange things so that all such NPCs would be off the board when you switched back. (And that all other NPCs would remain off the board until then.) It might be possible to intercept and replace the routine which awards experience, or to set an on-death effect which awarded you negative experience when you killed them, but getting those right sound like extensive work. 1
ligma0094 Posted August 4 Author Posted August 4 I think if I use JG I can essentially revive the npc before they die, then delete them using the mod. Im struggling to find documentation on iXPDeathRewardHealthThreshold, but if it works how I think, I can restore the npcs health and then kill them in a way that contributes the kill to the player without rewarding xp due to them not doing enough damage, so I should keep karma rewards and such. Will test when I have more time.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now