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 (;;)
|
||||
{
|
||||
wait randomintRange(2, 4);
|
||||
//wait randomintRange(2, 4);
|
||||
|
||||
if (randomInt(100) < 20)
|
||||
continue;
|
||||
// if (randomInt(100) < 20)
|
||||
// continue;
|
||||
wait 0.05;
|
||||
|
||||
if (!self GetAmmoCount("javelin_mp"))
|
||||
continue;
|
||||
@ -1272,8 +1273,12 @@ bot_jav_loc_think()
|
||||
continue;
|
||||
|
||||
self SetBotJavelinLocation(loc);
|
||||
self notify("bot_force_check_switch");
|
||||
self waittill_any("missile_fire", "weapon_change");
|
||||
self setSpawnWeapon("javelin_mp");
|
||||
|
||||
wait 0.05;
|
||||
if (self GetCurrentWeapon() == "javelin_mp")
|
||||
self waittill_any("missile_fire", "weapon_change");
|
||||
|
||||
self ClearBotJavelinLocation(loc);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user