Background for Skyrim SE
Member of the ObjectReference script
voidfunctionCreateDetectionEvent(ActorakOwner, intaiSoundLevel=0)Native

Description

Wiki Description

Creates a detection event at this object's location.


Caveats


Parameters

ActorakOwner

CK Wiki Description

The "owner" of the detection event

intaiSoundLevel=0

CK Wiki Description

The sound level of the detection event (0 to 100). Values bigger than 100 are not used in vanilla scripts but they work.

  • Default:0

Examples

; Creates a detection event for Bob at the tripwire location, 0 sound
TripwireProperty.CreateDetectionEvent(Bob)
; Creates a detection event for Bob at the tripwire location, 100 sound
TripwireProperty.CreateDetectionEvent(Bob, 100)

Auto-Generated Example

Actor myActor__akOwner
int myInt__aiSoundLevel

myObjectReference__toCallFunctionOn.CreateDetectionEvent(myActor__akOwner, myInt__aiSoundLevel)

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.