1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-25 22:50:28 -05:00

Monkey Bomb: fix no activation issue

This commit is contained in:
Jbleezy
2023-03-23 22:41:42 -07:00
parent b04dd69d3f
commit a0a6b14801
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,33 @@
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\zombies\_zm_utility;
#include maps\mp\zombies\_zm_laststand;
#include maps\mp\zombies\_zm_clone;
#include maps\mp\zombies\_zm_weap_cymbal_monkey;
player_handle_cymbal_monkey()
{
self notify( "starting_monkey_watch" );
self endon( "disconnect" );
self endon( "starting_monkey_watch" );
attract_dist_diff = level.monkey_attract_dist_diff;
if ( !isdefined( attract_dist_diff ) )
attract_dist_diff = 45;
num_attractors = level.num_monkey_attractors;
if ( !isdefined( num_attractors ) )
num_attractors = 96;
max_attract_dist = level.monkey_attract_dist;
if ( !isdefined( max_attract_dist ) )
max_attract_dist = 1536;
while ( true )
{
grenade = get_thrown_monkey();
self thread player_throw_cymbal_monkey( grenade, num_attractors, max_attract_dist, attract_dist_diff );
}
}