CreateDetectionEvent
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Manually generates a detection event. This function is typically used for things like sound traps -- hit a tripwire, something jangles and guys come to investigate if they're close enough to hear it.
Syntax
[LocationREF].CreateDetectionEvent OwnerRefID:ref iSoundLevel:int{0-100} EventType:int{0-3}
Example
CreateDetectionEvent player 100 3
Parameters
- OwnerRefID = Any actor reference.
- iSoundLevel = 0-100, with 100 being the loudest.
- EventType = EventTypeID (optional).
- 0 = Bullet
- 1 = Beam
- 2 = Explosion
- 3 = Generic
Notes
- This function is new in the GECK, and was not available in the TES4 Construction Set.