Get which sample that will be played inside a random playlist?

I have this event that randomizes a honking sound, I want to know before the event plays which instrument it will choose to connect up the correct vibration event.

Is this possible or do we have to separate each sound and use a parameter?

You can use
the FMOD_STUDIO_EVENT_CALLBACK_SOUND_PLAYED callback to get the Sound that is being played by the Event.

2 Likes

Ahh those callbacks, why didn’t I think of that, cheers!