mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
jav emp
This commit is contained in:
parent
af5d7e9c6e
commit
9426b7cb73
@ -1682,6 +1682,9 @@ bot_use_equipment_think()
|
||||
if (self IsUsingRemote())
|
||||
continue;
|
||||
|
||||
if (self inLastStand() && !self _hasPerk("specialty_laststandoffhand") && !self inFinalStand())
|
||||
continue;
|
||||
|
||||
clayWps = [];
|
||||
for (i = 0; i < level.waypointsClay.size; i++)
|
||||
{
|
||||
@ -1770,6 +1773,9 @@ bot_use_grenade_think()
|
||||
if (self IsUsingRemote())
|
||||
continue;
|
||||
|
||||
if (self inLastStand() && !self _hasPerk("specialty_laststandoffhand") && !self inFinalStand())
|
||||
continue;
|
||||
|
||||
nadeWps = [];
|
||||
for (i = 0; i < level.waypointsGren.size; i++)
|
||||
{
|
||||
@ -1873,6 +1879,9 @@ bot_jav_loc_think()
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
continue;
|
||||
|
||||
if (self isEMPed())
|
||||
continue;
|
||||
|
||||
javWps = [];
|
||||
for (i = 0; i < level.waypointsJav.size; i++)
|
||||
{
|
||||
@ -2668,6 +2677,9 @@ bot_target_vehicle()
|
||||
if(!isDefined(rocketAmmo) && self BotGetRandom() < 90)
|
||||
continue;
|
||||
|
||||
if (isDefined(rocketAmmo) && rocketAmmo == "javelin_mp" && self isEMPed())
|
||||
continue;
|
||||
|
||||
targets = maps\mp\_stinger::GetTargetList();
|
||||
|
||||
if (!targets.size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user