Hi
I am new at mapping but i tried to do the Documents mission at Surface. But when I start my map in ET I got “G_scriptPars(), Error (line 41): unknown action: wm_mapdescription”. Whats is wrong? I tried with this script file.
// wall 1
axis_wall_0
{
spawn
{
wait 200
constructible_class 3
constructible_health 300
setstate axis_wall_0 default
}
death
{
setstate axis_wall_0 invisible
}
}
// wall 2
axis_wall_1
{
spawn
{
wait 200
constructible_class 3
constructible_health 300
setstate axis_wall_1 default
}
death
{
setstate axis_wall_1 invisible
}
}
// The mission
game_manager
{
spawn
{
// Set scenario information
wm_mapdescription "get the secret documents and transmit them!"
wm_axis_respawntime 15
wm_allied_respawntime 15
wm_number_of_objectives 2
wm_set_round_timelimit 30
//we have 2 objectives, taking the documents and transmitting them:
wm_set_objective_status 1 0
wm_set_objective_status 2 0
wm_set_defending_team 0
wm_setwinner 0
accum 1 set 0
accum 2 set 0
}
trigger objective1
{
wm_set_objective_status 2 1
accum 2 set 1
wm_announce "Axis team has transmitted the documents!"
trigger game_manager checkgame
}
trigger axis_object_stolen
{
wm_set_objective_status 1 1
}
trigger axis_object_returned
{
wm_set_objective_status 1 0
}
trigger checkgame
{
accum 2 abort_if_not_equal 1
wm_setwinner 1
wait 1500
wm_endround
}
}
transmitter_obj
{
spawn
{
}
death
{
trigger game_manager objective1
}
}
I want Axis to get the documents, I have placed all the things I should (I think).
