This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_announcer [2025/05/02 22:27] – dragonlord | dragengine:modules:dragonscript:behavior_announcer [2026/11/07 17:24] (current) – dragonlord | ||
|---|---|---|---|
| Line 133: | Line 133: | ||
| * Default Value: empty string | * Default Value: empty string | ||
| * Example (*.deeclass) <code xml>< | * Example (*.deeclass) <code xml>< | ||
| + | |||
| + | ===== layerMask ===== | ||
| + | Set layer mask with world layer bits to play audio on. | ||
| + | * Full name: '' | ||
| + | * Type: string list | ||
| + | * Default Value: '' | ||
| + | * Example (*.deeclass) <code xml>< | ||
| ===== trigger ===== | ===== trigger ===== | ||
| Line 157: | Line 164: | ||
| This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | ||
| - | ===== announcer.announce | + | ===== announcer.update |
| - | Start or stop announcing. | + | Update announcer. |
| ^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
| Line 168: | Line 175: | ||
| This is an example of using this action: | This is an example of using this action: | ||
| <code xml> | <code xml> | ||
| - | <action name=' | + | <action name=' |
| < | < | ||
| </ | </ | ||
| Line 179: | Line 186: | ||
| ^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
| |announcing|'' | |announcing|'' | ||
| + | |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: | ||