How do I use sound aggregation?

Place to get help with not working mods / modding interface.
Post Reply
evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

How do I use sound aggregation?

Post 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 85 times
25 Dragoons attacking:
drag25.webm
(147.49 KiB) Downloaded 85 times

Post Reply

Return to “Modding help”