|
Post by lfcamacho on Nov 7, 2021 4:54:31 GMT
Hi, I recently bought and installed this asset, I'm very excited to get it going! I'm loving it so far
I've been reading some of the documentation trying to get familiar with all the things the asset can do. I couldn't find one thing thought...
How do you play just a specific variation from a group?? in my project I have a group with 3 sounds: Whoosh01, Whoosh02 and Whoosh03. My character has 3 attacks, so I set the Variation Sequence to play from Top To Bottom with an Inactive Time of 0.31s. It works beautifully ...BUT, my character when crouched, only does 1 attack, and I would like to use "whoosh02" for this attack, using the second variation that is already being pooled by MasterAudio. Can this be done via code or custom event without having to create another Group with just one sound in it??
Thanks in advance!
LF
|
|
|
Post by DarkTonic Dev on Nov 7, 2021 19:28:17 GMT
There's a parameter for "Variation Name" in the API for this purpose. Or if you're using Event Sounds, there's a field in the Inspector for it. If you don't specify a variation it picks one at random.
Thanks, -Brian
|
|
|
Post by lfcamacho on Nov 8, 2021 5:24:40 GMT
Excellent, that did it, thanks!
|
|
|
Post by DarkTonic Dev on Nov 8, 2021 16:08:43 GMT
No problem.
|
|