|
Post by xunux on Jun 5, 2015 4:32:53 GMT
Hello. This might seem a silly question, but I can't seem to find the answer. I'm triggering an sound group that has 4 variations, and i want them to be played at random, but never twice in a row. I see an option that has a slider for Retrigger PErcentage. I set that to 0 assuming that there is 0% chance for the same variation to re-trigger, however I still get sometimes the same variation triggering up to 5 times in a row!
Now, some of the code to implement these sounds isn't in yet, so I'm really only testing the variations by pressing the little speaker icon for the sound group in the master audio mixer view. Does that no guarantee the no re-triggering and if it is with code while the game is running it will work fine? Or should that be working just as if the game was running?
Thanks
|
|
|
Post by DarkTonic Dev on Jun 5, 2015 6:05:00 GMT
Retrigger percentage is not for that. It has nothing to do with random Variations. Every single setting is described in the readme, so I would search it before posting here for a faster answer. From the readme:
"This setting will control the percentage of each clip in this Group that must be played before re-using the Variation is allowed. Anything lower than this percentage and the Variation is considered "busy" and cannot be used. 50% is the default. An example: If you set this to 100%, clips can never be interrupted"
The only setting for "random ordered Variations or not" is "Variation Sequence", which is set to either "Randomized" or "Top to bottom".
When you are in edit mode, the randomizer is a "re-roll" each time you click Preview - there is no running count so it can play the same one many times in a row by luck. In Play mode however, it will play each Variation from the random pool until it has played all, then it will refill the pool and start again. Unfortunately, at this time there is no code to make sure that there is no repeat between the last play of a pool and the first play after the pool refills. I will add that to the roadmap as a default behavior.
|
|