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