Sudden death


(GloXz) #1

I have a map with mirrored bases (wm_setwinner -1). And I want to have some kind of sudden death mode when the time expires, so that all mg’s are disabled, some doors are locked etc. But I can’t get the timelimit_hit trigger to halt the game.

Script:


game_manager
{

spawn
{
wm_setwinner 0 //else the timelimit_hit isn't called
}

trigger timelimit_hit
{
wm_setwinner -1 //go into sudden death
//execute some stuff
}

}

However this is just showing up “It’s a tie!” in the intermisson screen.
Is there any way to get this working ? (to get timelimit_hit called without the game being ended)

Another solution is to let the sudden death start at let’s say 5 minutes … is that possible ?


(Drakir) #2

Use accum to trigger the Sudden death things when it hit the amount u want.

Set the winner to -1 and then make a accum increase every 60 seconds or so by using a wait of 60000 in the trigger then start the sudden death stuff when the accum equals the amount.

Should work in theory, havent tested it!