Ive seen some scripts to make random footsteps and also scripts to change the pitch and volume of an audio source, is there a way of combining them together so not only does the audio clip change but the pitch and volume of that audio clip change as well. the scripts are shown below
this is the random audio source script
this is the change pitch/volume script
THANKS GUYS, Matt
asked Feb 09 '11 at 05:33 PM
Yes, it can all easily be done.
In essence, you want to take the part of the second script that assign a random pitch and volume, and apply it in the first script right before the sound is to be played.
If you have any trouble doing that, then I'd recommend posting whatever specific questions you have about the process (either as a comment or by editing your post here, or as a new question either here or on the forums), and someone should be able to help.
answered Feb 09 '11 at 06:34 PM