2012-04-10

Play sounds when walking (updated)

I've just uploaded an update to the simple script I wrote that plays a sound when you walk. This change takes running to be the same as walking. So, no matter if you're running or walking, and no matter how often you transition between the two states, the sound keeps on playing. Only when you're neither running nor walking does the sound stop.

Of course, as before, it's not a very sophisticated approach -- doubtless most people would have a need for different sounds for different movement speeds -- but it works for me as I don't have a visible run. I've got my AO configured so I'm either walking or walking a bit faster.

Here's the updated code:

No comments:

Post a Comment