mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 07:55:43 +00:00
Listen
This commit is contained in:
parent
4be996d527
commit
0a2f129216
@ -111,7 +111,6 @@ init()
|
|||||||
level.bots_maxShotgunDistance = 500;
|
level.bots_maxShotgunDistance = 500;
|
||||||
level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance;
|
level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance;
|
||||||
level.bots_listenDist = 100;
|
level.bots_listenDist = 100;
|
||||||
level.bots_listenDist *= level.bots_listenDist;
|
|
||||||
|
|
||||||
level.smokeRadius = 255;
|
level.smokeRadius = 255;
|
||||||
|
|
||||||
|
@ -2275,9 +2275,6 @@ bot_listen_to_steps()
|
|||||||
{
|
{
|
||||||
wait 1;
|
wait 1;
|
||||||
|
|
||||||
if(self HasScriptGoal() || self.bot_lock_goal)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if(self.pers["bots"]["skill"]["base"] < 3)
|
if(self.pers["bots"]["skill"]["base"] < 3)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@ -2325,6 +2322,9 @@ bot_listen_to_steps()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(self HasScriptGoal() || self.bot_lock_goal)
|
||||||
|
continue;
|
||||||
|
|
||||||
self SetScriptGoal( heard.origin, 64 );
|
self SetScriptGoal( heard.origin, 64 );
|
||||||
|
|
||||||
if (self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal")
|
if (self waittill_any_return( "goal", "bad_path", "new_goal" ) != "new_goal")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user