mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
fi jav
This commit is contained in:
parent
4bc50de945
commit
350c64a9b9
@ -1227,10 +1227,11 @@ bot_jav_loc_think()
|
|||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
wait randomintRange(2, 4);
|
//wait randomintRange(2, 4);
|
||||||
|
|
||||||
if (randomInt(100) < 20)
|
// if (randomInt(100) < 20)
|
||||||
continue;
|
// continue;
|
||||||
|
wait 0.05;
|
||||||
|
|
||||||
if (!self GetAmmoCount("javelin_mp"))
|
if (!self GetAmmoCount("javelin_mp"))
|
||||||
continue;
|
continue;
|
||||||
@ -1272,8 +1273,12 @@ bot_jav_loc_think()
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
self SetBotJavelinLocation(loc);
|
self SetBotJavelinLocation(loc);
|
||||||
self notify("bot_force_check_switch");
|
self setSpawnWeapon("javelin_mp");
|
||||||
self waittill_any("missile_fire", "weapon_change");
|
|
||||||
|
wait 0.05;
|
||||||
|
if (self GetCurrentWeapon() == "javelin_mp")
|
||||||
|
self waittill_any("missile_fire", "weapon_change");
|
||||||
|
|
||||||
self ClearBotJavelinLocation(loc);
|
self ClearBotJavelinLocation(loc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user