Difference between revisions of "CreateDetectionEvent"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Zumbs
(added detection category)
Line 33: Line 33:
[[Category:Godsend Functions]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions (GECK 1.1)]]
[[Category:Godsend Functions (GECK 1.1)]]
[[Category:Detection]]

Revision as of 13:08, 29 September 2009

Description

CreateDetectionEvent 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 [OwnerRef] [SoundLevel] [EventType]

Parameters

  • OwnerRef = Any actor reference.
  • SoundLevel = 0-100, with 100 being the loudest.
  • EventType = EventTypeID (optional).
    • 0 = Bullet
    • 1 = Beam
    • 2 = Explosion
    • 3 = Generic

Examples

  • None at this time

Notes

  • This function is new in the GECK, and was not available in the TES4 Construction Set.

See Also