I know that this is quite a nooby question, but I have already tried to solve this myself, no luck…
game_manager
{
spawn
{
wm_axis_respawntime 15
wm_allied_respawntime 15
wm_set_round_timelimit 20
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 0
// Winner on expiration of round timer (0=Axis, 1=Allies, -1=Nobody)
wm_setwinner 0
wait 500
setautospawn "Axis Spawn" 0
setautospawn "Allied Spawn" 1
}
trigger allies_win
{
wm_announce "The Allies blew up the Radar parts!"
wm_setwinner 1
wait 3000
wm_endround
}
}
Radar_parts
{
spawn
{
wait 350
constructible_class 2 // 2=satchel 3=dyna
wm_announce “Destroy the Radar Parts!”
}
death
{
wm_announce "Radar parts destroyed!"
trigger Radar_parts_toi remove
wm_announce "The Allies have destroyed the Radar parts!"
trigger game_manager allies_win
}
}
Radar_parts_toi
{
trigger remove
{
wm_announce “Radar parts destroyed!”
remove
}
}
pump_controls
{
spawn
{
wait 300
constructible_class 3 // 2=satchel 3=dyna
}
death
{
alertentity pump_controls_bits
trigger pump_controls_toi remove
wm_announce "The Allies have destroyed the pump controls! Side wall breached!"
}
}
pump_controls_toi
{
trigger remove
{
remove
}
}
alliedconstruct_1
{
spawn
{
wait 50
trigger self setup
constructible_class 2 // 2=Satchel 3=Dyna
}
trigger setup
{
setstate alliedconstruct_1_materials default // Crate Models
setstate alliedconstruct_1_clip default // Clip brushes
setstate alliedconstruct_1_flag default
}
built final
{
setstate alliedconstruct_1_materials invisible // Crate Models
setstate alliedconstruct_1_clip invisible // Clip brushes
setstate alliedconstruct_1_flag invisible
wm_announce "Assault Ladder constructed!"
}
decayed final
{
trigger self setup
}
death
{
trigger self setup
wm_announce "Assault Ladder was destroyed!"
}
}
This is the *.script file of the map.
The problem is with the Radar_parts section. I placed a few announces in the code, to track it, and it does spawn (Destroy radar parts announced), but it never triggers the death section of code… (Yes, I have tried to destroy it and it did blow up and dissapear but nothing happened after that).
The names in trigger and the brush are checked…
please help!..


