Well im making a Defence map and i want this certain little wav to play everytime the comp looses a man
I dont knwo how to do the triggers properly for every kill
or im jsut slow today...
............................................................
Computer suffers at least one death of *unit*
Play wav
set deaths of *unit* to 0 for computer
Preserve
or subtact 1 death seeings how, you might want it to play for EACH unit not jsut when at least one dies
oh ya
hehehehehe
yup I'm slow today

Im always like taht, i haent worked on my maps since schoole startd... and ive been in a melee mood... hmm IM GOING CRAZY
QUOTE
Computer suffers at least one death of *unit*
Play wav
set deaths of *unit* to 0 for computer
Preserve
or subtact 1 death seeings how, you might want it to play for EACH unit not jsut when at least one dies
Can't you just use "Any Unit" or "Men"? It makes it much easier.
QUOTE(TheOddAngel @ Aug 28 2004, 09:56 AM)
oh ya
hehehehehe
yup I'm slow today
dont worry im slow everyday

With that trigger the sound is only going to play once for one player. It will subtract the death with that player's trigger and not fire for anyone else. (unless multiple units are killed)
You'd want something like this...
Players: Computer
Conditions: Current Player has suffered at least 1 Death of Men
Actions: Preserve Trigger
-Subtract 1 Death for Current Player of Men
-Add 1 Death for Force 1 (Assuming they're the human players) of *unused unit*
Players: Force
Conditions: Current Player has suffered at least 1 Death of *unused unit*
Actions: Preserve Trigger
-Subtract 1 Death for Current Player of *unused unit*
-Play (.wav file)
This way, when the comp suffers a death, they add a trig for the human players, who each subtract a death to play the .wav. That way every human player hears something regardless of the number of enemies killed.
Dude that will just keep repeating itself over and over...
no it wont...
his way prevents the sound from playing too many times when u kill lots of enemies