mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-20 20:20:30 -05:00
Encounter on MOTD: Brutus spawns after time
This commit is contained in:
@ -52,6 +52,7 @@ init()
|
||||
|
||||
level thread plane_auto_refuel();
|
||||
level thread updatecraftables();
|
||||
level thread grief_brutus_spawn_after_time();
|
||||
}
|
||||
|
||||
zombie_init_done()
|
||||
@ -615,6 +616,27 @@ craftabletrigger_update_prompt( player )
|
||||
return can_use;
|
||||
}
|
||||
|
||||
grief_brutus_spawn_after_time()
|
||||
{
|
||||
if ( !is_gametype_active( "zgrief" ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
level endon("end_game");
|
||||
|
||||
level waittill("restart_round_start");
|
||||
|
||||
while (1)
|
||||
{
|
||||
time = randomIntRange(240, 360);
|
||||
|
||||
wait time;
|
||||
|
||||
level notify( "spawn_brutus", 1 );
|
||||
}
|
||||
}
|
||||
|
||||
manage_zones( initial_zone )
|
||||
{
|
||||
level.zone_manager_init_func = ::working_zone_init;
|
||||
|
Reference in New Issue
Block a user