1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-19 19:48:53 -05:00
Files
BO2-Reimagined/scripts/zm/locs/loc_common.gsc
2023-03-18 15:34:13 -07:00

40 lines
984 B
Plaintext

#include maps\mp\_utility;
#include maps\mp\zombies\_zm_utility;
#include common_scripts\utility;
init()
{
level.enemy_location_override_func = ::enemy_location_override;
flag_wait( "initial_blackscreen_passed" );
maps\mp\zombies\_zm_game_module::turn_power_on_and_open_doors();
flag_wait( "start_zombie_round_logic" );
wait 1;
level notify( "revive_on" );
wait_network_frame();
level notify( "doubletap_on" );
wait_network_frame();
level notify( "marathon_on" );
wait_network_frame();
level notify( "juggernog_on" );
wait_network_frame();
level notify( "sleight_on" );
wait_network_frame();
level notify( "tombstone_on" );
wait_network_frame();
level notify( "additionalprimaryweapon_on" );
wait_network_frame();
level notify( "Pack_A_Punch_on" );
}
enemy_location_override( zombie, enemy )
{
location = enemy.origin;
if ( is_true( self.reroute ) )
{
if ( isDefined( self.reroute_origin ) )
{
location = self.reroute_origin;
}
}
return location;
}