Alehazar Posted July 21, 2018 Share Posted July 21, 2018 I generally play characters that are on the wrong side of the law in Tamriel. And the Knights of the Nine expansion really requires your character to have Infamy of 1 or less; otherwise it becomes a real chore to meet the ingame requirements.Since my character usually has an Infamy that exceeds the minimum -and it just keeps on rising- I wanted to introduce an item to the gameworld (throught the player.additem console command) that seemingly redeems my protagonist. I reworked the script that was originally attached to the Grey Cowl of Nocturnal and attached it to a custom crystal ball. Script is in attached file. Does this have a chance in hell to work as I intend? Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted July 21, 2018 Share Posted July 21, 2018 Your script looks complicated, instead of you I would create a "quest" script to add the object and an object script. This should do the job. Quest-script: ScriptName TheNameYouWantYourScriptToHave short DoOnce Begin GameMode if (player.getinfaction NDKnightsoftheNine ==1) && (GetPCInfamy >1)player.additem YourInfamyRemoverEditorIDset doonce to 1endifend Object script: ScriptName TheNameYouGaveToYourScript Begin OnAdd Playersetpcinfamy 0endifend Don't set your infamy-remover as a quest-item. When your infamy overcomes 1, drop it and take it again. Link to comment Share on other sites More sharing options...
Alehazar Posted July 21, 2018 Author Share Posted July 21, 2018 I see what you mean. However, the script I intended to use is not designed to permanently set the Infamy to zero. If you drop the object, you should automatically regain all the Fame and Infamy -and possible bounties- you already had, just before the object gets added for the first time. Whether it actually will, remains in question. Thank you for your thoughts -it's appreciated. Link to comment Share on other sites More sharing options...
flamingaxe Posted July 22, 2018 Share Posted July 22, 2018 (edited) just attach this script to your item scn aaaSethKotNRedemptionScript short inf begin onadd player set inf to getpcinfamy setpcinfamy 0 end begin ondrop player setpcinfamy inf end this sets your infamy to 0 and when u drop it your infamy is up again. or you use this script scn aaaSethKotNRedemptionScript short inf short infend begin onadd player set inf to getpcinfamy setpcinfamy 0 end begin ondrop player set infend to getpcinfamy + inf setpcinfamy infend end this also adds the infamy you gain while having the item in your inventory to your initial "score" Edited July 22, 2018 by flamingaxe Link to comment Share on other sites More sharing options...
Alehazar Posted July 23, 2018 Author Share Posted July 23, 2018 Thanks, flamingaxe! That's just what I'm looking for. I'll try it when I'm able to -some other game has my attention atm. It is not what I had in mind, but here you go: https://www.nexusmods.com/oblivion/mods/48689 Link to comment Share on other sites More sharing options...
Recommended Posts