This is my .script file:
game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 1
wm_allied_respawntime 1
wm_number_of_objectives 2
wm_set_round_timelimit 20
wait 1000
wm_teamvoiceannounce 0 "alarm1"
wm_teamvoiceannounce 1 "alarm1"
wait 5000
trigger self fog_change
}
}
The .sounds file:
alarm1
{
sound sound/color_arena/alarm1.wav
voice
streaming
}
And the .wav file plays the sound when you triggers the target_speaker.
Why doesn’t play et the soundfile at mapstart?