How to add a bounty to the Player via script. Game: TES V: SkyrimThis is how to modify the CrimeGold variable via a script, adding or removing a bounty from our character's head. In this case, I'll be raising CrimeGold during a quest stage, by adding a simple script. Sure, we can open the console once we're in the game, click on our character, and type Player.SetCrimeGold X or Player.ModCrimeGold X, but here's how to do it during a quest.
And I'm only adding this to the thread because it works.
Not everything listed at CreationKit.com works, or is easy to understand how to add its syntax, especially for a dummy like myself.
1). I am assuming a quest is being written with stages, or will be written with stages. Go to the Quest Stages tab, and find the stage during which we want to modify a character's CrimeGold.
2). Click the Properties button. Click Add Property. When the panel pops, find Factions in the scroll-bar.
I am writing this as though I want a bounty placed upon my character's head, so...
3). In the Name slot, I am typing PlayerCrimeProperty as the property's name. Click OK, which closes the Property panel.
4). After the nifty little blue & yellow symbol shows in the Property Name window, click the Edit Value button, and find whichever hold you'd like the bounty to show. So for instance, my character is doing a quest in which she receives a bounty in Solitude, so I'm going to find CrimeFactionHaafingar in the scroll-bar.
Click OK.
5). In the Papyrus Fragment box, type the property's name, followed by SetCrimeGold, and the amount of gold desired. So in my game, I've got
PlayerCrimeProperty.SetCrimeGold(100), which adds a 100 gp bounty in the hold of Haafingar.
This post has been edited by Renee: Apr 3 2022, 04:57 AM