Help me,can someone tell me why isnt my forward bunker flag in command map when a team gets it … ?its never on the command map …
Help.
You MUST give us some more info dude… We can’t guess what your problem is…
You could give us your current piece of script to start with… and then we might see why it doesn’t work.
Okey sorry … 
foward_flag
{
spawn
{
accum 0 set 2
}
trigger axis_capture
{
accum 0 abort_if_equal 2
accum 0 set 2
wm_announce "^7Allied foward bunker spawn disabled by axis^1!"
setstate forward_wobj invisible
}
trigger allied_capture
{
accum 0 abort_if_equal 1
accum 0 set 1
wm_announce "^7Allies have captured the Forward Flag^1!"
setstate forward_wobj default
}
}
the script… 
If you cant spot any errors i can cut out the map piece of it too.
if i remember correctly, using:
setstate for the wobj wont do it, i think you need to alertentity instead
The script file :
foward_flag
{
spawn
{
wait 100
accum 0 set 2
alertentity foward_wobj
}
trigger axis_capture
{
accum 0 abort_if_equal 2
accum 0 set 2
wm_announce "^7Allied foward bunker spawn disabled by axis^1!"
setstate forward_wobj invisible
}
trigger allied_capture
{
accum 0 abort_if_equal 1
accum 0 set 1
wm_announce "^7Allies have captured the Forward Flag^1!"
setstate forward_wobj default
}
}
(made some changes)
You’re still using setstate…
Replace this:
setstate forward_wobj invisible
To this:
alertentity forward_wobj
And do the same with the second “setstate” line…
do your spawns work when you capture? from the script it looks like only the axis can capture at start. You could try removing your accum checks, just to see if that works. Then go from there.
Also, make sure you set one of the default(team) boxes.
Well the catch is this :
Axis cant capture it ,only allies but axis can disable the spawn …
But axis cant spawn there .
Anything missing from there ?
When i did it and wanted to capture the flag it kicked me out and said :

Script:
foward_flag
{
spawn
{
wait 100
accum 0 set 2
alertentity foward_wobj
}
trigger axis_capture
{
accum 0 abort_if_equal 2
accum 0 set 2
wm_announce "^7Allied foward bunker spawn disabled by axis^1!"
alertentity forward_wobj invisible
}
trigger allied_capture
{
accum 0 abort_if_equal 1
accum 0 set 1
wm_announce "^7Allies have captured the Forward Flag^1!"
alertentity forward_wobj default
}
}
Your script is incorrect either way. From your old script:
spawn {
// ....
alertentity foward_wobj
}
trigger axis_capture
{
//....
setstate forward_wobj invisible
}
You have both “foward_wobj” and “forward_wobj” in there.
And another error, you don’t understand the usage of alertentity.
In your script:
alertentity forward_wobj invisible
The correct syntax is only:
alertentity forward_wobj
Alertentity simply tells the entity to do what it is programmed to do.
Setstate (where you do use invisible / default / underconstruction) sets the state of an entity.
In other words, you don’t use invisible/default/underconstruction with alertentity.
k, if axis are not able to spawn there, set your checkbox to default_allies and try this script. Alertentity on a team_wobj just switches between default_allies/default_axis, if only one team can spawn there…forget about using alertentity all together.
foward_flag
{
spawn
{
wait 250
setstate forward_wobj invisible //use this line if allies cannot spawn there at beginning, if they can; remove this line.
}
trigger axis_capture
{
wm_announce "^7Allied foward bunker spawn disabled by axis^1!"
setstate forward_wobj invisible
}
trigger allied_capture
{
wm_announce "^7Allies have captured the Forward Flag^1!"
setstate forward_wobj default
}
}
See if that works properly. It is possible to use setstates on a team_wobj btw.
Okey, have a look through your console after running bsp -meta. Your part map “entity leaked”, your team_wobj shouldn’t be touching any other entity - that will cause a leak. If you compile with radiant you probably see “entity leaked” msg’s but those aren’t the same as a normal leak.
After bsp check for entity leak errors:
eg.
--- FloodEntities ---
Entity 1, Brush 0: Entity leaked
19 flooded leafs
entity reached from outside -- no filling
**********************
******* leaked *******
**********************
…so if the team_wobj is leaking its not getting compiled into the map.
Can this be it too ?
— FloodEntities —
Entity 190,brush 0:Entity leaked
2970 flooded leafs
And found another thing …
When allies capture the forward flag they cant spawn in the 1st spawn …
If u select the 1st spawn in limbo it wont budge…
Still spawns in the forward spawn .
