Prototype/Sound#aggregation Documentation

Place to get help with not working mods / modding interface.
Post Reply
User avatar
kizrak
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Thu Jul 19, 2018 1:27 am
Contact:

Prototype/Sound#aggregation Documentation

Post by kizrak »

I'm trying to find more detailed documentation/explanation of how to use Prototype/Sound#aggregation

Code: Select all

aggregation
Type: table
Table with the following members:

max_count - uint32 - Mandatory.
progress_threshold - float - Optional. - Default: 1.0 - If count already playing is true, this will determine maximum progress when instance is counted toward playing sounds.
remove - bool - Mandatory.
count_already_playing - bool - Optional. - Default: false - If true already playing sounds are taken into account when checking maxCount.
I assumed I could use this data structure to limit the number of simultaneous instance of this sound, but I've been unable to accomplish this so maybe it is used for something else that I cannot fathom. :?

Any help would be greatly appreciated! :D

Thanks,
-Kizrak

Post Reply

Return to “Modding help”