hey i made a destroyable wall and i wrote a script:
Game_manager
{
spawn
{
}
trigger objective_counter //Counts allied objectives completed
{
accum 1 inc 1
trigger game_manager checkgame
}
trigger checkgame
{
accum 1 abort_if_not_equal 1
wm_setwinner 0
wait 1500
wm_endround
}
}
//the wall
wall_script
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce "Allies breached the wall!t"
setstate wall invisible
trigger game_manager objective_counter
}
}
but when allies blow the wall up, axis team wins
whats the problem? thank you for all the answers