This is the script I have for a single returnable objective:
axis_gold1
{
spawn
{
wait 200
setstate axis_gold1_captured invisible
}
trigger stolen
{
wm_announce "The Axis have stolen the gold"
setstate axis_gold1_cm_marker invisible
}
trigger returned
{
wm_announce "The Allies have retrieved the gold"
setstate axis_gold1_cm_marker default
}
trigger captured
{
wm_announce "The Axis have secured the gold"
setstate axis_gold1_red invisible
setstate axis_gold1_captured default
}
}
axis_gold1_objective
{
death
{
trigger game_manager objective1
}
}
How would I use accums to link them all together, so that once they have all be secured by a team, the game ends and a team wins?