Skip to content

Commit 37a8c2c

Browse files
Andx667PabstMirror
andauthored
Hearing - Add ace_hearing_disableVolumeUpdate to docs (acemod#11099)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
1 parent 1e697ab commit 37a8c2c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/wiki/framework/hearing-framework.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,15 @@ class CfgMagazines {
4444
};
4545
};
4646
```
47+
48+
## Temporarily disable Hearing adjusting the Volume
49+
50+
To temporarly disable ACE Hearing changing the volume use the global Variable `ace_hearing_disableVolumeUpdate`.
51+
52+
```sqf
53+
ace_hearing_disableVolumeUpdate = true;
54+
/*
55+
your code with audio
56+
*/
57+
ace_hearing_disableVolumeUpdate = false;
58+
```

0 commit comments

Comments
 (0)