Background for Skyrim SE
Member of the LibFire script
floatfunctionGetFactionCrimeValue(FactionakFaction, intaiMember)NativeGlobal

Description

Documentation Comment

Returns crime value (murder, assault, etc.) for akFaction at aiMember offset
Valid offsets:

  • 0x0 Arrest (cast to Boolean)
  • 0x01 Attack On Sight (cast to Boolean)
  • 0x02 Murder (cast to Int)
  • 0x04 Assault (cast to Int)
  • 0x06 Trespass (cast to Int)
  • 0x08 Pickpocket (cast to Int)
  • 0x0C Steal Multiplier (Float)
  • 0x10 Escape (cast to Int)
  • 0x12 Werewolf (cast to Int)

Parameters

  1. FactionakFaction

  2. intaiMember


Examples

Auto-Generated Example

Faction myFaction__akFaction
int myInt__aiMember

float returnedValue = LibFire.GetFactionCrimeValue(myFaction__akFaction, myInt__aiMember)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.