Hey folks, me again..
I just started to try out scripting, thanks to a good friend of mine who has some experience with this kind of stuff. I do understand some parts of this whole scripting thing but of course I encounter problems as I'm still at the beginning.
http://www.youtube.com/watch?v=FQX81WaDHvE
In this video is a scene where the player hides between the chest of drawers and the bed. You can hear footsteps, which become louder, then the door opens a bit and after this scene you can hear the footsteps again. This time the "person" is going away from you bedroom. Those footsteps are random samples, so it could be a bit hard to code them. At first I thought they are activated by different timers which play those sounds from different objects to make them appear more quiet each time they are played, but this could be difficult because of the different length of those random samples. Any help with this?
Feel free to ask if you don't understand something. Thanks!
Edit: Well, I found it out by myself. It was indeed a timer.