Having trouble with my vo section on a new map.
Allies must steal two objectives and secure them on a truck.
Im using the script and truck from GOLDRUSH to get this to work, however, the VO section is not working properly. I do not hear any of the VO’s regarding the parts.
Here is the scripting:
goldbar_holder
{
death
{
trigger truck add_goldbar
}
}
gold_crate
{
spawn
{
accum 0 set 0 // gold counter
}
trigger stolen
{
accum 0 inc 1
accum 0 trigger_if_equal 1 gold_crate stolen1
accum 0 trigger_if_equal 2 gold_crate stolen2
}
trigger secured
{
accum 0 trigger_if_equal 1 gold_crate secured1
accum 0 trigger_if_equal 2 gold_crate secured2
}
trigger returned
{
accum 0 inc -1
accum 0 trigger_if_equal 0 gold_crate returned1
accum 0 trigger_if_equal 1 gold_crate returned2
}
trigger stolen1
{
trigger circuit1_radartop down
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radarw_taken"
wm_teamvoiceannounce 1 "radar_allies_radarw_taken"
// *----------------------------------- vo ------------------------------------------*
}
trigger stolen2
{
trigger circuit2_radartop down
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radare_taken"
wm_teamvoiceannounce 1 "radar_allies_radare_taken"
// *----------------------------------- vo ------------------------------------------*
}
trigger secured1
{
wm_announce "Allied team has secured the West Radar Parts!"
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radarw_secured"
wm_teamvoiceannounce 1 "radar_allies_radarw_secured"
// *---------------------------------------------------------------------------------*
}
trigger secured2
{
wm_announce "Allied team has secured the East Radar Parts!"
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radare_secured"
wm_teamvoiceannounce 1 "radar_allies_radare_secured"
// *---------------------------------------------------------------------------------*
}
trigger returned1
{
trigger circuit1_radartop up
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radarw_returned"
wm_teamvoiceannounce 1 "radar_allies_radarw_returned"
// *----------------------------------- vo ------------------------------------------*
}
trigger returned2
{
trigger circuit2_radartop up
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "radar_axis_radare_returned"
wm_teamvoiceannounce 1 "radar_allies_radare_returned"
// *----------------------------------- vo ------------------------------------------*
}
}
This is a sub trigger of truck:
trigger add_goldbar
{
accum 0 inc 1
trigger gold_full_0 show
trigger gold_trans_0 hide
trigger gold_crate secured
accum 0 abort_if_less_than 2
trigger gold_full_1 show
trigger gold_trans_1 hide
trigger self truck_escape_msg
wm_announce "Allied team is escaping with the Gold Crates!"
wm_objective_status 7 0 2
wm_objective_status 7 1 1
wm_set_main_objective 3 0
wm_set_main_objective 3 1
setstate goldbars_toi invisible
setstate goldbars_cm_marker invisible
}
Now everything else regarding the crates works, the models show properly, and such, all entities are in place as needed. But for some reason, when i steal, drop, secure or return the crates, I get no VO other than “Objective Taken”
Any help would be greatly appreciated, as this is the only thing stopping the release of a new map.
Thanks again
