I want barney to walk to a position and then execute an animation 5 times. Using an aiscripted_sequence, I can only get him to do the animation once. Specifically, I'm trying to get barney to unlock a door by pussing 5 numbers into a keypad (executing the 'buttonpush' animation 5 times.) It was done at the beginning of Half-Life after you got of the tram, so I know there's a way.
Also, I would like a beeping sound effect to play 5 times while barney is pushing the buttons. This was also done in Half-Life. But I can't figure out how.