I have this script for when the allies destroy a generator the autospawn changes, and their spawns become active.
But when allies destroy the firsts generator, the flag does not appear, but they have the spawn area to spawn at. Just the flag does not show in the command map. Iam not talking about it being a flag pole, just the wolf objective info, for the flag marker.
generator1
{
spawn
{
wait 200
constructible_class 2
trigger self setup
}
trigger setup
{
}
built final
{
wait 200
trigger bridgedoor up
setautospawn "Bridge Out Post" 0
alertentity "axis_1"
wait 200
alertentity "allies_2"
wm_announce "Axis have built the Bridge Gate Generator!"
wm_objective_status 1 0 1
wm_objective_status 1 1 2
}
death
{
wait 200
trigger self setup
trigger bridgedoor down
setautospawn "Bridge Out Post" 1
setautospawn "Castle Armery" 0
alertentity "axis_1"
wait 200
alertentity "allies_2"
wait 200
alertentity "axis_3"
wm_announce "Allies have damaged the Bridge Gate Generator!"
wm_objective_status 1 0 2
wm_objective_status 1 1 1
}
decayed final
{
trigger self setup
}
}
bridgedoor
{
trigger up
{
gotomarker gate1_bottom 5 wait
}
trigger down
{
gotomarker gate1_top 5 wait
}
}
generator2
{
spawn
{
wait 200
constructible_class 2
trigger self setup
}
trigger setup
{
}
built final
{
wait 200
trigger castledoor up
setautospawn "Bridge Out Post" 1
alertentity "allies_3"
wm_announce "Axis have built the Castle Gate Generator!"
wm_objective_status 2 0 1
wm_objective_status 2 1 2
}
death
{
wait 200
trigger self setup
trigger castledoor down
setautospawn "Castle Out Post" 1
alertentity "allies_3"
wm_announce "Allies have damaged the Castle Gate Generator!"
wm_objective_status 2 0 2
wm_objective_status 2 1 1
}
decayed final
{
trigger self setup
}
}
castledoor
{
trigger up
{
gotomarker gate2_bottom 5 wait
}
trigger down
{
gotomarker gate2_top 5 wait
}
}
Generator one is the problem, its the only place it changes spawns for teams.