Prototype/Sound#aggregation Documentation
Posted: Thu Jun 18, 2020 1:26 am
I'm trying to find more detailed documentation/explanation of how to use Prototype/Sound#aggregation
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!
Thanks,
-Kizrak
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.Any help would be greatly appreciated!
Thanks,
-Kizrak