get this error g_script_scriptparse() , error (line 147) : ’ } ’ expected, end of script found.
heres my script:
game_manager
{
spawn
{
}
}
Tank_Wall
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce “Allies have blown the Tank wall!!”
}
}
construction_script
{
spawn
{
wait 200
constructible_class 2
trigger self startup
}
buildstart final
{
}
built final
{
setstate construction_extra default
setstate construction_mg42 default
setstate construction_materials invisible
// Some kind of UI pop-up to alert players
wm_announce “Axis team has built the construction!”
}
decayed final
{
trigger self startup
}
death
{
trigger self startup
// Some kind of UI pop-up to alert players
wm_announce “Allied team has destroyed the construction!”
}
trigger startup
{
setstate construction_extra invisible
setstate construction_mg42 invisible
setstate construction_materials default
repairmg42 construction_mg42
}
}
wm_mapdescription “Allies must find a steal the misile doc’s.”
wm_set_round_timelimit 15
wm_axis_respawntime 30
wm_allied_respawntime 40
wm_number_of_objectives 2
wm_set_objective_status 1 0
wm_set_objective_status 2 0
wm_overview_image “gfx/2d/mp_objectives/levelname_obj_overview.tga”
wm_objective_image 1 “gfx/2d/mp_objectives/levelname_obj_1.tga”
wm_objective_image 1 “gfx/2d/mp_objectives/levelname_obj_2.tga”
// Axis objective descriptions
wm_objective_axis_desc 1 “Primary Objective:**protect docs.”
wm_objective_short_axis_desc 1 “protect docs”
wm_objective_axis_desc 2 “Primary Objective:**stop allies breaching the tank_wall.”
wm_objective_short_axis_desc 2 “stop allies breaching the tank_wall”
// Allied objective descriptions
wm_objective_allied_desc 1 “Primary Objective:**get the missile docs.”
wm_objective_short_allied_desc 1 “transmit them”
wm_objective_allied_desc 2 “Primary Objective:**destroy the tank_wall.”
wm_objective_short_allied_desc 2 “destroy the tank_wall”
// If the round timer expires, who wins?
wm_setwinner 0
// Set status flag of objective
accum 1 set 0
}
// Axis object taken (objective 1)
trigger axis_object_stolen
{
wm_set_objective_status 1 1
}
// Axis object returned (objective 1)
trigger axis_object_returned
{
wm_set_objective_status 1 0
}
// Objective 2 has been taken to destination
trigger objective_2_done
{
// Mark objective as delivered
accum 1 set 1
wm_set_objective_status 2 1
wm_announce “Allies have taken the doc’s and stole them t00 Bad Axis!”
// Check if game won
trigger game_manager objectives_complete
}
// Are objectives complete?
trigger objectives_complete
{
// Abort this function if objective 1 has not been destroyed
accum 1 abort_if_not_equal 1
// Mark Allies as the winners
wm_setwinner 1
// End the level
wm_endround
}
}
// The Allies have taken the Axis object to it’s destination
allied_objective_2
{
spawn
{
}
death
{
trigger game_manager objective_2_done
}
}

