Editing CreateDetectionEvent
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
==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== | ==Parameters== | ||
* | *OwnerRef = Any actor reference. | ||
* | *SoundLevel = 0-100, with 100 being the loudest. | ||
*EventType = EventTypeID (optional). | *EventType = EventTypeID (optional). | ||
**0 = Bullet | **0 = Bullet | ||
Line 30: | Line 15: | ||
**2 = Explosion | **2 = Explosion | ||
**3 = Generic | **3 = Generic | ||
==Examples== | |||
*None at this time | |||
==Notes== | ==Notes== |