You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will need to set the `Limit sound instance to` amount, this is amount of instances that can play this audio on the AK Component in Unreal.
324
+
Also set the dropdown next to this limit to `Per Game Object` this means per `AK Component` in unreal.
325
+
326
+
Next you will need to change the `When limit is reached` to `Kill voice` and also set the drop down under that to `Discard oldest instances`.
327
+
This means when the limit is reached for this audio it will kill any oldest instances and discard them.
328
+
329
+
Finally you will need to setup playback priority. The playback priority requires that you have setup Attenuation.
330
+
331
+
Set the priority of your audio to something like `10`, then set the `Offset priority by` setting to `-10`.
332
+
333
+
This setting will set the audio priority to 10, then when you are outside the attenuation distance will set the priority to 0 allowing for more important audio like the game sounds to be played.
334
+
335
+
Even with Attenuation and playback limits setup the audio will still play and count towards the Wwise Playback Limit.
336
+
337
+
* Attenuation will only lower the volume of the audio and not stop the audio.
338
+
* Playback limits are only limiting the number of audio instances playing on a game object.
339
+
340
+
So to prevent audio from playing when you are outside of the attenuation range you will need to make use of the Significance Manager.
341
+
342
+
For playing background buildings sounds use the `Gained Significance` and `Lost Significance` events:
0 commit comments