game_manager
{
// Game rules
wm_axis_respawntime 20
wm_allied_respawntime 25
wm_number_of_objectives 4
wm_set_round_timelimit 35
// Objectives
// 1: Use the first tank to get to the river.
// 2: Use the second tank to get to the river.
// 3: Capture the small town square.
// 4: Capture the North side of the town.
// Current main objectives for each team (0=Axis, 1=Allies)
wm_set_main_objective 1 0
wm_set_main_objective 1 1
wm_objective_status 1 0 0
wm_objective_status 1 1 0
wm_objective_status 2 0 0
wm_objective_status 2 1 0
wm_objective_status 3 0 0
wm_objective_status 3 1 0
wm_objective_status 4 0 0
wm_objective_status 4 1 0
wm_set_main_objective 1 0
wm_set_main_objective 1 1
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 1
// Winner on expiration of round timer (0=Axis, 1=Allies)
wm_setwinner 1
wait 500
setautospawn "Square" 0
setautospawn "Square" 1
*---------------------------------------------------------------------------------*
square_flag
{
spawn
{
accum 0 set 1 // Who has the flag: 0-Axis, 1-Allied
}
trigger axis_capture // Flag has been touched by an Axis player
{
accum 0 abort_if_equal 0 // do Axis own flag?
accum 0 set 0 // Axis own the pole
wm_announce "Axis have taken the town square!"
// *----------------------------------- vo------------------------------------------*
wm_teamvoiceannounce 0 "Ramelle_axis_square_captured"
wm_teamvoiceannounce 1 "Ramelle_allies_square_captured"
// *---------------------------------------------------------------------------------*
wm_objective_status 3 0 1
wm_objective_status 3 1 2
wm_set_main_objective 2 0
wm_set_main_objective 2 1
alertentity square_wobj
}
trigger allied_capture // Flag has been touched by an allied player
{
accum 0 abort_if_equal 1 // do Allies own flag?
accum 0 set 1 // Allied own the flag
wm_announce "Allies have retaken the square!"
wm_objective_status 3 0 2
wm_objective_status 3 1 1
wm_set_main_objective 1 0
wm_set_main_objective 1 1
alertentity square_wobj
}
trigger force_axis
}
{
accum 0 abort_if_equal 0 // Do Axis own the flag?
alertentity square_wobj
alertentity square_flag
}
}
what seems to be wrong here?


I just added an enter before the first { because i can read it more easily like that