Staredit Network

Staredit Network -> UMS Assistance -> unit dieing with sounds
Report, edit, etc...Posted by PlasticBag on 2006-03-19 at 23:07:58
once a unit dies u play a wav file

but how do i make the wav file play more than once for each time the unit dies?

example
i have 3 ghosts

one ghost dies the wav plays
then the 2nd ghost dies the wav plays again etc...

is it possible?
Report, edit, etc...Posted by Kyuubi. on 2006-03-19 at 23:32:28
you can set the trigger up like this

Conditions:
-'current player suffers' 'at least 1 death' of 'ghost'
Actions:
-'Set deaths' for 'current player' to '0 ghosts'
-play wav file
-preserve trigger

you can add in the mute non trigger unit speech actions to so you don't have to hear 2 of the wavs overlapping
Report, edit, etc...Posted by Deku(pb) on 2006-03-20 at 17:57:20
Heres the way i do it.


Trigger
Description:
Ghost Dies
Players:
¤ Player (And or Computer)
Conditions:
¤ If Current Player Suffered Exactly 1 Deaths Of Ghost
Actions:
¤ Play .wav


Than for the second ghost

Trigger
Description:
Ghost Dies 2
Players:
¤ Player (And Or Computer)
Conditions:
¤ If Current Player Suffers Exactly 2 Deaths Of Ghost
Actions:
¤ Play .wav


And so on...
Report, edit, etc...Posted by Kyuubi. on 2006-03-20 at 18:05:21
that way works fine, but not to put you down or anything, you wouldn't need to use up too many triggers doing that though.
Report, edit, etc...Posted by PlasticBag on 2006-03-20 at 18:12:55
ty
Next Page (1)