Difference between revisions of "CreateDetectionEvent"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Quetzilla
m (super useful function noted)
imported>DewiMorgan
m (→‎Notes: +note it's not in the TES4 wiki; debolding titles; adding see also items.)
Line 1: Line 1:
=='''Description'''==
==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.
'''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==
=='''Syntax'''==


  [''LocationREF''].CreateDetectionEvent [''OwnerRef''] [''SoundLevel''] [''EventType'']
  [''LocationREF''].CreateDetectionEvent [''OwnerRef''] [''SoundLevel''] [''EventType'']


=='''Parameters'''==
==Parameters==
*OwnerRef = Any actor reference.
*OwnerRef = Any actor reference.
*SoundLevel = 0-100, with 100 being the loudest.
*SoundLevel = 0-100, with 100 being the loudest.
Line 17: Line 16:
**3 = Generic
**3 = Generic


=='''Examples'''==
==Examples==
*None at this time
 
=='''Notes'''==
*None at this time
*None at this time


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


=='''See Also'''==
==See Also==
 
*[[GetDetected]]
*[[GetDetectionLevel]]
*[[IsActorDetected]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Detection Functions]]
[[Category:Detection Functions]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions]]

Revision as of 13:46, 13 April 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