Hi HotShot, long time no see
Firstly, the comments you have added should have “//” not “-”
second, since both sides can win from an objective you need 2 “checkgames”
try pasting this into your script:
trigger objective_1
{
// Set objective1 status: 0 == AXIS, 1 == ALLIED
wm_set_objective_status 1 1
accum 1 set 1
wm_announce "The Allies have destroyed the Axis controls!"
trigger game_manager checkgame1
}
trigger objective_2
{
// Set objective2 status : 0 == AXIS, 1 == ALLIED
wm_set_objective_status 2 1
wm_announce "The Allies have blown the Axis Central Bridge"
}
trigger objective_3
{
// Set objective3 status : 0 == AXIS, 1 == ALLIED
wm_set_objective_status 3 0
accum 1 set 1
wm_announce "The Axis have destroyed the Allied Radios!"
trigger game_manager checkgame2
}
trigger objective_4
{
// Set objective4 status : 0 == AXIS, 1 == ALLIED
wm_set_objective_status 4 0
wm_announce "The Axis have blown the Allied Central Bridge"
}
trigger checkgame1
{
accum 1 abort_if_not_equal 1
// Set the round winner: 0 == AXIS, 1 == ALLIED
wm_setwinner 1
wait 1500
wm_endround
}
trigger checkgame2
{
accum 1 abort_if_not_equal 1
// Set the round winner: 0 == AXIS, 1 == ALLIED
wm_setwinner 0
wait 1500
wm_endround
}
}
no need for accum 2,3 & 4, we just use accum 1 to see if anyone has
won the round, and use the separate checkgames to see who.
Hewster