Hi everybody!
Maybe i have a simple problem but it seems i cannot fix it by myself.^^
I don't know how to add a sound to my level.
In WED i can add a sound, but when i run my level there is no sound.
So i have tried to add an sound to an Entity, but nothing happens. I also tried to give an Entity an action to play the sound, but this do not work,too!:(
Can anybody help?
By the way my code for my action was something like this...
var fire_handle
SOUND* fire = "fire.wav"
ENTITY* fireplace = "fireplace.mdl"
action()
{
fire_handle = ent_playsound ( fireplace, fire, 80);
}
so what's wrong???
I think i would be easier to add a sound file to the level editor with an range, but it does not work!
Last edited by Deha; 01/10/10 19:31.