SendAssaultAlarm

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Manually creates an assault crime. There are two optional parameters: an actor reference (the specific victim, if applicable - if not applicable, use player) and a faction reference.

Syntax

[help]
ref.SendAssaultAlarm OffendedActor:ref OffendedFaction:ref

Example

Player.SendAssaultAlarm FlashRef

Flash will react as if he is a victim of an assault crime.

SendAssaultAlarm Player BigTown

Because the player is not a valid target for an assault alarm, it will pick an NPC in the BigTown faction to use instead.

Notes

  • This command CANNOT be used to have ai actors attack other ai, The player is always considered the one committing the crime.
  • Causes actors to yell out the "Assault" dialogue topic even if they are already in combat with the target.

Bugs

  • Using this command without a calling REF can sometimes lead to a CTD.

See Also