|
Post by dreasgrech on Apr 18, 2016 12:42:40 GMT
I'm currently trying to find a way on how to play a specific variation of a MasterAudioGroup depending on its index in the hierarchy.
Is there any way I can do this with some MasterAudio.PlaySoundXXX overload?
The overload which does something similar accepts a string name of the variation, but I only have access to the index of the variation. If this is the only overload available, is there a way in MasterAudio I can resolve a variation name by its index? Because then I would be able to use this existing overload.
Thanks, // Dreas.
|
|
|
Post by DarkTonic Dev on Apr 18, 2016 15:58:09 GMT
Why would you only have the index? The Variation names will not change at runtime so you should have them.
No, there is no way to play by index. Possible to add, but also opens this up to errors (too high of an index) and the question: do we count clones (created by Voices > 1) as individual indexes or not? Users may or may not agree on the answer to that.
|
|