mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-28 08:00:14 -05:00
Vulture-Aid: stink areas no longer activate while the player is standing
This commit is contained in:
26
scripts/zm/replaced/_zm_perk_vulture.gsc
Normal file
26
scripts/zm/replaced/_zm_perk_vulture.gsc
Normal file
@ -0,0 +1,26 @@
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\zombies\_zm_utility;
|
||||
#include maps\mp\zombies\_zm_perks;
|
||||
#include maps\mp\_visionset_mgr;
|
||||
#include maps\mp\zombies\_zm_spawner;
|
||||
#include maps\mp\zombies\_zm_laststand;
|
||||
#include maps\mp\zombies\_zm_audio;
|
||||
#include maps\mp\zombies\_zm_zonemgr;
|
||||
#include maps\mp\zombies\_zm_equipment;
|
||||
#include maps\mp\zombies\_zm_score;
|
||||
#include maps\mp\zombies\_zm_ai_basic;
|
||||
#include maps\mp\zombies\_zm_perk_vulture;
|
||||
|
||||
_is_player_in_zombie_stink( a_points )
|
||||
{
|
||||
b_is_in_stink = 0;
|
||||
|
||||
for ( i = 0; i < a_points.size; i++ )
|
||||
{
|
||||
if ( distancesquared( a_points[i].origin, self.origin ) < 4900 && self getStance() != "stand" )
|
||||
b_is_in_stink = 1;
|
||||
}
|
||||
|
||||
return b_is_in_stink;
|
||||
}
|
Reference in New Issue
Block a user