1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00
Files
BO2-Reimagined/scripts/zm/locs/loc_common.gsc
2023-12-16 20:01:17 -08:00

42 lines
956 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;
}