SetPlayerReportCrime - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Set the state of the player as an actor who commits crimes

Syntax[edit | edit source]

Function SetPlayerReportCrime(bool abReportCrime = true) native global

Parameters[edit | edit source]

  • abReportCrime : Specifies whether to turn the crime reporting flag on the player on or off
    • Default: True

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Turn on the player getting crimes reported.
Game.SetPlayerReportCrime()


; Turn off the player getting crimes reported
Game.SetPlayerReportCrime(false)

See Also[edit | edit source]