SendTrespassAlarm - Actor

From the CreationKit Wiki
Revision as of 20:40, 4 February 2015 by imported>Chesko
Jump to navigation Jump to search

Member of: Actor Script

Have this actor pretend he caught the specified criminal trespassing.

Syntax

Function SendTrespassAlarm(Actor akCriminal) native

Parameters

  • akCriminal: The actor caught trespassing.

Return Value

None.

Examples

; Nate catches the player trespassing
Nate.SendTrespassAlarm(Game.GetPlayer())

Notes

  • The alarm this function sends is the same as if the player has already committed the crime of trespassing, and will not result in the "time to go" dialogue that precedes the crime.

See Also