ok mappers…thanks for replys
The description keys on my objective entitys are ok…says he confidently…
here is gamemanager part of the script:
game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 30
wm_allied_respawntime 30
wm_number_of_objectives 7
wm_set_round_timelimit 30
// Objectives
// 1: Steal Truck
// 2: Protect Truck
// 3: Steal Train
// 4: Protect Train
// 5: Escape with gold
// 6: Allied command post
// 7: Axis command post
// Current main objectives for each team (0=Axis, 1=Allies)
wm_set_main_objective 1 1
wm_set_main_objective 1 0
wm_objective_status 1 1 0
wm_objective_status 1 0 0
wm_objective_status 2 1 0
wm_objective_status 2 0 0
wm_objective_status 3 1 0
wm_objective_status 3 0 0
wm_objective_status 4 1 0
wm_objective_status 4 0 0
wm_objective_status 5 1 0
wm_objective_status 5 0 0
wm_objective_status 6 0 0
wm_objective_status 6 1 0
wm_objective_status 7 0 0
wm_objective_status 7 1 0
wm_set_main_objective 1 1
wm_set_main_objective 1 0
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 1
// Winner on expiration of round timer (0=Axis, 1=Allies)
wm_setwinner 1
wait 500
setautospawn "Allies Spawn" 1
setautospawn "Axis Spawn" 0
accum 4 set 0 // have the Axis stolen the truck?
}
trigger axis_win
{
wm_setwinner 0
wm_announce "Axis team escaped with the Gold!"
wm_objective_status 5 0 2
wm_objective_status 5 1 1
wait 1500
wm_endround
}
trigger axis_steal_truck
{
accum 4 abort_if_not_equal 0
wm_announce "Axis team has stolen the Truck!"
wm_objective_status 1 0 2
wm_objective_status 1 1 1
alertentity sawmill_axis_spawns
alertentity sawmill_allied_spawns
alertentity sawmillblob
alertentity boathouse_axis_spawns
alertentity boathouse_allied_spawns
alertentity boathouseblob
setautospawn "Allies Spawn" 0
setautospawn "Axis Spawn" 1
accum 4 set 0
wm_set_main_objective 2 1
wm_set_main_objective 2 0
}
}
Thanks again