sbox-issues
sbox-issues copied to clipboard
Add a way to pick which sound a SoundEvent chooses
For?
S&Box
What can't you do?
We currently can't influence which sound a SoundEvent plays if there are multiple to choose from
How would you like it to work?
An overload for PlaySound
and all Sound.From
methods which accept an index for which sound should be played would work. To accommodate that we should also get a method which tells us how many sounds a sound event has but I don't know how that would work since there is no sound preloading and there's no way to access the sound until you actually play it
What have you tried?
Splitting the sound event into multiple but that completely defeats the purpose of sound events being able to play multiple different sounds
Additional context
No response