Login Issues
Activate Issues
Other Problems?
maps\_zombiemode::main();
thread zombiesleft_hud();
zombiesleft_hud(){ Remaining = create_simple_hud(); Remaining.horzAlign = "center"; Remaining.vertAlign = "middle"; Remaining.alignX = "Left"; Remaining.alignY = "middle"; Remaining.y = 230; Remaining.x = 60; Remaining.foreground = 1; Remaining.fontscale = 8.0; Remaining.alpha = 1; Remaining.color = ( 1, 0.5, 0 ); ZombiesLeft = create_simple_hud(); ZombiesLeft.horzAlign = "center"; ZombiesLeft.vertAlign = "middle"; ZombiesLeft.alignX = "center"; ZombiesLeft.alignY = "middle"; ZombiesLeft.y = 230; ZombiesLeft.x = -1; ZombiesLeft.foreground = 1; ZombiesLeft.fontscale = 8.0; ZombiesLeft.alpha = 1; ZombiesLeft.color = ( 1, 0.5, 0 ); ZombiesLeft SetText("Zombies: "); while(1) { remainingZombies = get_enemy_count() + level.zombie_total; Remaining SetValue(remainingZombies); if(remainingZombies == 0 ) { Remaining.alpha = 0; while(1) { remainingZombies = get_enemy_count() + level.zombie_total; if(remainingZombies != 0 ) { Remaining.alpha = 1; break; } wait 0.5; } } wait 0.5; } }