User Tools

Site Tools


dragengine:modules:dragonscript:behavior_hearsounds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_hearsounds [2025/05/02 22:28] – dragonlorddragengine:modules:dragonscript:behavior_hearsounds [2026/11/07 17:27] (current) – dragonlord
Line 50: Line 50:
   * Restriction: At least ''1''   * Restriction: At least ''1''
   * Example (*.deeclass) <code xml><float name='hearSound.volumeThreshold'>0.02</float></code>   * Example (*.deeclass) <code xml><float name='hearSound.volumeThreshold'>0.02</float></code>
 +
 +===== layerMask =====
 +Set layer mask with world layer bits to listen on.
 +  * Full name: ''hearSound.layerMask''
 +  * Type: string list
 +  * Default Value: ''audio''
 +  * Example (*.deeclass) <code xml><string name='hearSound.layerMask'>audio player</string></code>
  
 ===== position ===== ===== position =====
Line 102: Line 109:
 |count.greater|integer|Count of audible elements is greater than integer value| |count.greater|integer|Count of audible elements is greater than integer value|
 |player|''true'', ''false''|Player is audible| |player|''true'', ''false''|Player is audible|
 +|wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled|
  
 This is an example of using this action: This is an example of using this action:
dragengine/modules/dragonscript/behavior_hearsounds.1746224929.txt.gz · Last modified: by dragonlord