Hi, in my team, we are developing a game with Adventure Creator, and I have a little challenge to solve with the Conversation system.
I need to trigger a sound when the mouse gets over an option inside a conversation. I know this might be achieved by adding a sound in one of the managers of AC. However, my request is that the sound must be personalized for each alternative, making it a little more complex. Is there a solution for this matter? The idea would be that in case of a playing sound, it must be stopped to play the next one.
I hope you can help me. We are using an old version of AC since we have it so modified that implement all the changes in the new version will take several weeks of development that we actually don't have. Still, we don't discard updating if it's needed to accomplish this.
Cheers
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
So, each option has it's own audio?
You can hook into the OnMouseOverMenu custom event to detect which dialogue option the pointer is currently over, and play audio from a custom class by comparing its ID value.
Something like this should do it: