Ok guys just wanted to know that I did get it to work. It took me a little bit cause i am still n00b at the map makin… .but I am learnin. I do have one more ? tho. Is the playsound command global or not? It seems that on earlier versions of this script that the player that takes the flag is only one that hears it… but i am not sure. I have changed it so that i think it will work for everyone, but I have not tested it yet. Anyway here is my code… Oh and btw i did have to make a sep entity for each message… but it worx wonderfully (cept for the sound for now)
:drink:
game_manager
{
spawn
{
wm_axis_respawntime 7
wm_allied_respawntime 7
wm_set_round_timelimit 10
// Winner on expiration of round timer (0=Axis, 1=Allies, -1=No winner at expiration)
wm_setwinner -1
wait 2000
}
}
axisflag
{
spawn
{
wait 300
accum 0 set 0
}
trigger allied_capture
{
accum 0 abort_if_equal 1
playsound sound/misc/vote.wav volume 400
wait 200
accum 0 set 1
accum 0 abort_if_equal 0
alertentity t25
wait 1000
accum 0 abort_if_equal 0
alertentity t24
wait 1000
accum 0 abort_if_equal 0
alertentity t23
wait 1000
accum 0 abort_if_equal 0
alertentity t22
wait 1000
accum 0 abort_if_equal 0
alertentity t21
wait 1000
accum 0 abort_if_equal 0
alertentity t3
wait 1000
accum 0 abort_if_equal 0
alertentity t4
wait 1000
accum 0 abort_if_equal 0
alertentity t5
wait 1000
accum 0 abort_if_equal 0
alertentity t6
wait 1000
accum 0 abort_if_equal 0
alertentity t7
wait 1000
accum 0 abort_if_equal 0
alertentity t8
wait 1000
accum 0 abort_if_equal 0
alertentity t9
wait 1000
accum 0 abort_if_equal 0
alertentity t10
wait 1000
accum 0 abort_if_equal 0
alertentity t11
wait 1000
accum 0 abort_if_equal 0
alertentity t12
wait 1000
accum 0 abort_if_equal 0
alertentity t13
wm_setwinner 1
wait 2000
wm_endround
}
trigger axis_capture
{
accum 0 abort_if_equal 0
accum 0 set 0
alertentity t14
}
}
alliedflag
{
spawn
{
wait 300
accum 1 set 1
}
trigger axis_capture
{
accum 1 abort_if_equal 0
playsound sound/misc/vote.wav volume 400
wait 200
alertentity r15
accum 1 set 0
accum 1 abort_if_equal 1
alertentity r14
wait 1000
accum 1 abort_if_equal 1
alertentity r13
wait 1000
accum 1 abort_if_equal 1
alertentity r12
wait 1000
accum 1 abort_if_equal 1
alertentity r11
wait 1000
accum 1 abort_if_equal 1
alertentity r10
wait 1000
accum 1 abort_if_equal 1
alertentity r9
wait 1000
accum 1 abort_if_equal 1
alertentity r8
wait 1000
accum 1 abort_if_equal 1
alertentity r7
wait 1000
accum 1 abort_if_equal 1
alertentity r6
wait 1000
accum 1 abort_if_equal 1
alertentity r5
wait 1000
accum 1 abort_if_equal 1
alertentity r4
wait 1000
accum 1 abort_if_equal 1
alertentity r3
wait 1000
accum 1 abort_if_equal 1
alertentity r2
wait 1000
accum 1 abort_if_equal 1
alertentity r1
wait 1000
accum 1 abort_if_equal 1
alertentity r0
wm_setwinner 0
wait 2000
wm_endround
}
trigger allied_capture
{
accum 1 abort_if_equal 1
accum 1 set 1
alertentity r16
}
}
oh and i know that the allies is a bit messy… but i didn’t feel like changin all the ents :disgust: