SendAssaultAlarm

Revision as of 15:03, 28 November 2011 by imported>Scornett
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 VersionEdit

SendAssaultAlarm - Actor
SendAssaultAlarm - Faction