I’m making a game where I want to use the same function to give dialog to different characters.
Is there a way to add sound to be a parameter in a function? I just don’t want to have to do something like this:
If this is not possible, I will suffice with just adding all the numbers into the function, but I think it would be nice to have sound as a parameter.
Does anyone have more knowledge on this?

