GetFactionCrimeGoldValue - ANDR PapyrusFunctions
Jump to navigation
Jump to search
Member of: ANDR_PapyrusFunctions Script
Returns the amount of gold a certain crime will result in, in a particular crime faction.
Syntax[edit | edit source]
Int Function GetFactionCrimeGoldValue(Faction CrimeFaction, int iCrimeType) global nativeExamples[edit | edit source]
Int iWhiterunMurderGold = ANDR_PapyrusFunctions.GetFactionCrimeGoldValue(CrimeFactionWhiterun, 1)
Debug.Trace("Murder results into a " + iWhiterunMurderGold + " gold bounty in Whiterun.")Parameters[edit | edit source]
- CrimeFaction: the faction to check
- iCrimeType: the type of crime
- 1 = Murder
- 2 = Assault
- 3 = Trespass
- 4 = Pickpocket
- 5 = Escape
- 6 = Werewolf
Return Value[edit | edit source]
The amount of gold the specified crime will result in, in the specified crime faction.