random sound
I have this code
PHP Code:
PHP Code:
|
Re: random sound
PHP Code:
|
Re: random sound
What you wrote i don't need this, because my code not like yours. I wrote
PHP Code:
PHP Code:
PHP Code:
P.S. I don't know how to get random sound from zombies lvl... |
Re: random sound
|
Re: random sound
Untested
PHP Code:
type /test to hear random sound between the two. |
Re: random sound
Sry, but don't like this i just need sounds only.. Now look.
PHP Code:
|
Re: random sound
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:
|
Re: random sound
Quote:
|
Re: random sound
if you want to use emit_sound with random sounds :arrow:
Code:
|
Re: random sound
Quote:
You originally said levels not names of zombies... change the level enum to a class name enum and use it that way... other wise good luck what i posted works. and its easier then hard coding 1-2 this zombie 3-4 this one ect. |
All times are GMT -4. The time now is 21:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.