game_manager
{
spawn
{
wm_axis_respawntime 1 
wm_allied_respawntime 1
}
}

soikkeli
{
	spawn
	{
	wait 50
	trigger soikkeli move
	wait 300
	}
	trigger move
	{
	gotomarker soikkeli_pos1 500 wait
	gotomarker soikkeli_pos2 500 wait
	trigger soikkeli move
	}
}

hissi
{
	spawn
	{
	wait 50
	trigger hissi move
	wait 200
	}
	trigger move
	{
	gotomarker hissi_pos1 100 wait
	gotomarker hissi_pos2 100 wait
	trigger hissi move
	}
}

Endwall
{
spawn
{
wait 200
constructible_class 3
setstate lippu default
}
built final
{
wm_announce "Allied have constructed the ^1Endwall"
setstate lippu invisible
}
death
{
wm_announce "Axis have destroyed the ^1Endwall"
setstate lippu default
}
}

flag1
{
trigger axis_capture //this trigger is automaticly runned when an axis captures the flag
{
wm_announce "Axis captured the ^rfirst ^wflag"
setautospawn "spawnpoint1" 0 //(0-axis 1-allies) looks for a team_WOLF_objective with description "spawnpoint1" and makes it the current spawn
}
}


flag2
{
trigger axis_capture //this trigger is automaticly runned when an axis captures the flag
{
wm_announce "Axis captured flag ^r2"
setautospawn "spawnpoint2" 0 //(0-axis 1-allies) looks for a team_WOLF_objective with description "spawnpoint1" and makes it the current spawn
}
}


end_flag
{
trigger axis_capture
{
wm_teamvoiceannounce 0 "axis_hq_objective_captured"
wm_announce "Axis capture the ^1endflag ^r(but nothing happened)"
wait 5000
}
}