i havnt actully saorted out this scropt coz i coped it frm anoter map :S wot does this bit mean?: // Objectives
//1: Collect Gold Barrel and drop off
//2: Collect Gold Phone and drop off
// Current main objectives for each team (0=Axis, 1=Allies)
wm_objective_status 1 1 0
wm_objective_status 1 1 0
wm_objective_status 2 1 0
wm_objective_status 2 1 0
//Accum values
accum 1 set 0 //Overall Axis status
accum 2 set 0 //Overall Allied status
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 0
// Winner on expiration of round timer (0=Axis, 1=Allies, -1=no winner at expiration)
wm_setwinner -1
wait 2000
// setautospawn “sz1” 1 //Uses name from description field of team_WOLF_objective
// setautospawn “sz1” 0
}
//Objective Flags
trigger obj1 //Return of Allied Gold and Radar Parts
{
//Set to objective accum to 1 so we know that the objective has been completed
accum 1 inc 1
//Call function called checkgame in game_manager to check if the round has been won
trigger game_manager axis_checkgame
}
trigger obj2 //Return of Axis Gold and Radar Parts
{
//Set to objective accum to 1 so we know that the objective has been completed
accum 2 inc 1
//Call function called checkgame in game_manager to check if the round has been won
trigger game_manager allied_checkgame
}
trigger axis_checkgame
{
//Here we check if the accum 1 contains 2,
//if it doesn’t then we do not execute the 2 remaining lines
//in this function but just continue with the game
accum 1 abort_if_not_equal 2
//If this line gets executed it means that the accum contains 2 and that both objectives has been completed by axis
//So we need to set the winner of the round (0 = Axis, 1 = Allies)
wm_setwinner 0
wait 1500
//End the round
wm_endround
}
trigger allied_checkgame // mirrors axis_checkgame
{
accum 2 abort_if_not_equal 2
wm_setwinner 1
wait 1500
wm_endround
}
}