mirror of
https://github.com/PhantomGamesDevelopment/TWM2.git
synced 2026-03-20 12:50:55 +00:00
Prep for July 4th
Added in the necessary hooks to the daily challenge system for the July 4th event.
This commit is contained in:
parent
04f85e58a6
commit
66218bf83b
5 changed files with 230 additions and 203 deletions
|
|
@ -427,6 +427,12 @@ function HordeNextWave(%game, %wave) {
|
|||
$HordeGame::RevivesLeft++;
|
||||
}
|
||||
$HordeGame::CurrentWave = %wave;
|
||||
for(%i = 0; %i < ClientGroup.getCount(); %i++) {
|
||||
%cl = ClientGroup.getObject(%i);
|
||||
if(%wave != 1) {
|
||||
recordAction(%cl, "HORDEWAVE", %wave-1);
|
||||
}
|
||||
}
|
||||
HordeKillAllZombies(); //Cleans up the server
|
||||
if($HordeGame::CurrentWave == 51) { //Victory
|
||||
for (%i = 0; %i < ClientGroup.getCount(); %i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue