Ahem ,
Its been a while since my last visit … i have however bumped into some trouble …
i want to use a model to be shot as objective ,
now everything is working fine , except for the part when people actually shoot the model … it will not end the game . i think this is due to the kill_target ( legacy from a map im trying to port into the ET engine)
i have tried ( script wise ) to make it constructable_class 3 / 2 / 1 the model dies but there is nothing telling it should end the game
(bit of code)
trigger axis_objective6
{
// Change the objective state internally, so UI can update, etc.
// Axis shoot mooman ..
wm_objective_status 6 0 1
wm_objective_status 6 1 2
// Show message on screen
wm_announce "The Mooman is no more!!!!"
wait 2000
// Set the round winnerto allied 0 == AXIS, 1 == ALLIED
wm_setwinner 0
// End the round
wm_endround
}
}
axis_obj6
{
spawn
{
constructible_class 2
}
death
{
//call the function in game_manager
//trigger kill_moo setaccum2
trigger game_manager axis_objective6
}
}
is there another way? to get this working ?