Difference between revisions of "SendAssaultAlarm"

From GECK

 
m
Line 29: Line 29:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Crime Functions]]
 
[[Category:Crime Functions]]
 +
[[Category:Godsend Functions]]

Revision as of 18:54, 12 December 2008

Description

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

Syntax

SendAssaultAlarm ''ActorRef'' ''Faction''

Examples

SendAssaultAlarm FlashRef
Flash will react as if he is a victim of an assault crime.
SendAssaultAlarm FlashRef BigTown
Flash will react as if he is a victim of an assault crime. If Flash is not there, an NPC in the BigTown faction will be used instead.
SendAssaultAlarm Player BigTown
Ignores the ActorRef parameter and searches for an NPC in the BigTown faction to use.

Notes

  • None.

See Also

Personal tools