Hey I have a flag in the middle of my map if the axis capture it and hold it for 30 secounds Allies loose, I have the Allies loose right but I need some sort of exit script if allies capture back
heres what im using
trigger axis_capture // Touched by an Axis player
{
accum 0 abort_if_equal 0 // do Axis own flag?
accum 0 trigger_if_equal 1 forward_flag axis_reclaim // Reclaimed from Allies
accum 0 set 0 // Axis own the flag
setstate forward_wobj default
wm_objective_status 1 0 1
wm_objective_status 1 1 2
wm_announce "^1Nazi Zombies has captured the flag!"
wait 1000
wm_announce "^1CAPTURE THE FLAG BACK"
wait 1000
wm_announce "^130 seconds remaining!"
wait 10000
wm_announce "^120 seconds remaining!"
wait 10000
wm_announce "^110 seconds remaining!"
wait 5000
wm_announce "^15"
wait 1000
wm_announce "^14"
wait 1000
wm_announce "^13"
wait 1000
wm_announce "^12"
wait 1000
wm_announce "^11"
wait 1000
wm_announce "^1 Oh Noes"
wait 2000
wm_setwinner 0
wm_endround
}
Also, I have 4 spawn points, 1 for allies when flag captured, one for axis when flag captured and 1 each for when flag is not theres, but the allies one isnt working they can still spawn by the flag, does anyone know a good map to look at or a prefab so I can see what im doing wrong
note: if you need any part of my script tell me
thank you