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

Description

Wiki Description

Creates a detection event at this object's location.

Documentation Comment

Create a detection event at this reference, with the specified owner. Sound level is between 0 and 100


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).

  • 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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.