SendAssaultAlarm

From the CreationKit Wiki
Jump to navigation Jump to search

SendAssaultAlarm manually creates an assault crime. There are two optional parameters: an actor reference and a faction.

Syntax:

SendAssaultAlarm [ActorRef] [Faction]

Examples:

SendAssaultAlarm YsoldaRef
;Ysolda will react as if she is a victim of an assault crime.
SendAssaultAlarm Player CrimeFactionWhiterun
;An NPC in the Whiterun crime faction will react as if they are the victim of an assault.
SendAssaultAlarm YsoldaRef CrimeFactionWhiterun
;If Ysolda is present, she will react. Otherwise, an NPC in the Whiterun crime faction will be used instead.

Papyrus Version[edit | edit source]

SendAssaultAlarm - Actor
SendAssaultAlarm - Faction