|
Senior Member
|
04-02-2012
, 06:40
Re: random sound
|
#8
|
Quote:
Originally Posted by claudiuhks
For first zombie, zm_miss_sounds[ 0 ] and zm_miss_sounds[ 1 ] -> zm_miss_sounds[ random_num( 0, 1 ) ]
For second zombie, zm_miss_sounds[ 2 ] and zm_miss_sounds[ 3 ] -> zm_miss_sounds[ random_num( 2, 3 ) ]
->
PHP Code:
new zm_miss_sounds[][] = { "umbrella_swarm/armored/miss/claw_miss_1.wav", "umbrella_swarm/armored/miss/claw_miss_2.wav", // noob zombie random sounds when he miss! first sounds "umbrella_swarm/fake/miss/claw_miss_1.wav", "umbrella_swarm/fake/miss/claw_miss_2.wav", // bla zombie random sounds when he miss! second sounds "umbrella_swarm/dasd/miss/claw_miss_1.wav", "umbrella_swarm/dasd/miss/claw_miss_2.wav" // ouch zombie random SOUNDS! third sounds }
|
thanks that i need it!
|
|
|
|