Page 1 of 1

How do I use sound aggregation?

Posted: Fri Apr 16, 2021 1:23 am
by evildogbot100
I wanted a sound to be played at most once every tick, so that they can't stack up and make one giant loud sound. I tried to use sound aggregation but it seems to not work?

Code: Select all

sound =
{
  aggregation =
  {
    max_count = 1,
    remove = true,
  },
  filename = "__sc-redux__/sound/dragbull.wav",
  volume = 1
},
A single dragoon attacking:
drag1.webm
(88.66 KiB) Downloaded 86 times
25 Dragoons attacking:
drag25.webm
(147.49 KiB) Downloaded 86 times