with spawn fight i mean that all spawn would be capturable and when one team catched them all they would win… how do i script something like that?
how to make a spawn fight
rough guess but just make a capable spawn and then attach script_trigger? That triggers an accum.
well…it was that accum stuff…i need it in with an teaspoon you know…lol
(map starts to look great btw)
You mean something like having 5 flags and once your team has all of them the team wins? Add this to your game_manager:
trigger check_flags_allied
{
accum 1 inc 1 //+1 flag captured
accum 0 inc -1 //Remove one flag from axis
accum 1 abort_if_less_than 5 //Check that 5 flags are captured
wm_setwinner 1
wm_endround
}
trigger check_flags_axis
{
accum 0 inc 1 //+1 flag captured
accum 1 inc -1 //Remove one flag from allies
accum 0 abort_if_less_than 5 //Check that 5 flags are captured
wm_setwinner 0
wm_endround
}
And trigger these from allied_capture/axis_capture event of each flag. And don’t forget to set the accums to zero in the game_manager’s spawn just to be safe.
edit I did not test it, just wrote it from the top of my head but it should do it.
@{SSF}Sage thanx,think this is what i was looking for:D 
@nUllSkillZ never seen that map… if Sage’s solution don’t work
[QUOTE=nUllSkillZ;214682]My mistake:
The map is called “Alleys”.[/QUOTE]
ah…yes that one i’ve tried :D… trying to make a battle map where both teams can win ground … so when all 5 or six spawns is take they win…