Difference between revisions of "CreateDetectionEvent"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Quetzilla
m (super useful function noted)
Line 29: Line 29:
[[Category:Functions]]
[[Category:Functions]]
[[Category:Detection Functions]]
[[Category:Detection Functions]]
[[Category:Godsend Functions]]

Revision as of 19:24, 12 December 2008

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

  • None at this time


See Also