mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-09-02 01:37:26 +00:00
ok
This commit is contained in:
@@ -1554,6 +1554,9 @@ bot_use_tube_think()
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
tubeWps = [];
|
tubeWps = [];
|
||||||
for (i = 0; i < level.waypointsTube.size; i++)
|
for (i = 0; i < level.waypointsTube.size; i++)
|
||||||
{
|
{
|
||||||
@@ -1598,9 +1601,6 @@ bot_use_tube_think()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self InLastStand() && !self InFinalStand())
|
|
||||||
continue;
|
|
||||||
|
|
||||||
self SetScriptAimPos(loc);
|
self SetScriptAimPos(loc);
|
||||||
self BotStopMoving(true);
|
self BotStopMoving(true);
|
||||||
wait 1;
|
wait 1;
|
||||||
@@ -1608,7 +1608,7 @@ bot_use_tube_think()
|
|||||||
self.bot_perf_switch_weapon = tube;
|
self.bot_perf_switch_weapon = tube;
|
||||||
self notify("bot_force_check_switch");
|
self notify("bot_force_check_switch");
|
||||||
wait 0.1;
|
wait 0.1;
|
||||||
|
|
||||||
if (self GetCurrentWeapon() == tube)
|
if (self GetCurrentWeapon() == tube)
|
||||||
{
|
{
|
||||||
self thread fire_current_weapon();
|
self thread fire_current_weapon();
|
||||||
@@ -1867,6 +1867,9 @@ bot_jav_loc_think()
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
javWps = [];
|
javWps = [];
|
||||||
for (i = 0; i < level.waypointsJav.size; i++)
|
for (i = 0; i < level.waypointsJav.size; i++)
|
||||||
{
|
{
|
||||||
@@ -1909,9 +1912,6 @@ bot_jav_loc_think()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self InLastStand() && !self InFinalStand())
|
|
||||||
continue;
|
|
||||||
|
|
||||||
self SetBotJavelinLocation(loc);
|
self SetBotJavelinLocation(loc);
|
||||||
self notify("bot_force_check_switch");
|
self notify("bot_force_check_switch");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user