mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
IsUsingRemote
This commit is contained in:
parent
e40304c796
commit
445e13c631
@ -504,7 +504,7 @@ stance()
|
|||||||
{
|
{
|
||||||
self waittill_either("finished_static_waypoints", "new_static_waypoint");
|
self waittill_either("finished_static_waypoints", "new_static_waypoint");
|
||||||
|
|
||||||
if(self.bot.isfrozen)
|
if(self.bot.isfrozen || self IsUsingRemote())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
toStance = "stand";
|
toStance = "stand";
|
||||||
@ -1398,6 +1398,9 @@ walk()
|
|||||||
if(level.gameEnded || !gameFlag( "prematch_done" ) || self.bot.isfrozen || self.bot.stop_move)
|
if(level.gameEnded || !gameFlag( "prematch_done" ) || self.bot.isfrozen || self.bot.stop_move)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (self IsUsingRemote())
|
||||||
|
continue;
|
||||||
|
|
||||||
if(self maps\mp\_flashgrenades::isFlashbanged())
|
if(self maps\mp\_flashgrenades::isFlashbanged())
|
||||||
{
|
{
|
||||||
self botMoveTo(self.origin + self GetVelocity()*500);
|
self botMoveTo(self.origin + self GetVelocity()*500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user