Here’s the corrected script with indentation. Much easier to read. Also, as chavo_one pointed out, there were some braces missing and a one too many open brace.
I think the main problem was with the “allies ladder”. AFAIK you can’t have spaces in a routine/scriptblock so make sure you replace it elsewhere (if called directly from an ent).
game_manager
{
spawn
{
wm_axis_respawntime 5
wm_allied_respawntime 5
wm_number_of_objectives 0
wm_set_round_timelimit 20
wm_set_defending_team 0
wm_setwinnner 0
}
}
allied_ladder
{
spawn
{
wait 200
trigger self setup
constructible_class 2
}
trigger setup
{
setstate allied_ladder invisible
setstate build1 default
}
buildstart final
{
setstate allied_ladder underconstruction
setstate build1 default
}
built final
{
setstate allied_ladder default
setstate build1 invisible
wm_announce "The Allied ladder has been constructed!"
}
decayed final
{
setstate allied_ladder invisible
setstate build1 default
}
death
{
setstate allied_ladder invisible
setstate build1 default
wm_announce "Axis have destroyed the Allied ladder!"
}
}
That should work.