Background for Skyrim SE
Member of the Actor script
voidfunctionSendTrespassAlarm(ActorakCriminal)Native

Description

Wiki Description

Have this actor pretend he caught the specified criminal trespassing.

Documentation Comment

Has this actor behave as if they caught the target trespassing


Caveats

CK Wiki - 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. For that, you can use a package with a Guard procedure.

Parameters

ActorakCriminal

CK Wiki Description

The actor caught trespassing.


Examples

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

Auto-Generated Example

Actor myActor__akCriminal

myActor__toCallFunctionOn.SendTrespassAlarm(myActor__akCriminal)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.