Im building my own map. But the last days i got the error:
g_script_scriptparse (), error (line79):’}’ expected end of script
Ive readed a lot of topics but noting helps:s here is my script:
game_manager
{
spawn
{
wait 300
// Set scenario information
wm_setwinner 0
// Accum #1 will be the state of objective number one
accum 1 set 0
accum 2 set 0
accum 3 set 0
accum 4 set 0
}
{
spawn
}
{
accum 0 set 2 // Who owns flag: 0-Axis, 1-Allied, 2-Nobody
}
trigger axis_capture // Touched by an Axis player
{
accum 0 abort_if_equal 0 // do Axis own flag?
accum 0 trigger_if_equal 1 forward_flag axis_reclaim // Reclaimed from Allies
accum 0 set 0 // Axis own the flag
wm_announce “Axis have captured the Forward Flag!”
}
trigger axis_reclaim
{
alertentity forward_wobj // Switch command map marker
}
trigger allied_capture // Touched by an allied player
{
accum 0 abort_if_equal 1 // do Allies own flag?
accum 0 set 1 // Allied own the flag
wm_announce “Allies have captured the Forward Flag!”
setstate forward_wobj default
alertentity forward_wobj // Switch command map marker
}
{
spawn
}
{
wait 200
constructible_class 3 // = 3 - dyno blow only / 2 - setchel and dyno blow
}
{
death
}
{
wm_announce “The gate”
}
Thx for every reply