Sandbird
Valued Member!
I am writing a new script and i need to access the sounds in \z\addons\dayz_sfx\zombie\ folder. Is there i way i can do something like this (it doesnt work):
and then do :
The problem is not all the sounds are in CfgSounds class...and i dont want to manually add the .ogg files in my mission file.
Code:
classCfgSounds{
class wzombie1 {
name ="";
sound[]={"\z\addons\dayz_sfx\zombie\femalezombie_spotted_01.ogg",0.3,1,40};
titles[]={0,""};
};
class wzombie2 : wzombie1 {
sound[]={"\z\addons\dayz_sfx\zombie\femalezombie_spotted_02.ogg",0.3,1,40};
};};
Code:
[nil,player,rSAY,[wzombie1,10]] call RE;