mirror of
				https://github.com/ineedbots/t4_bot_warfare.git
				synced 2025-10-27 21:56:56 +00:00 
			
		
		
		
	Listen
This commit is contained in:
		| @@ -111,7 +111,6 @@ init() | ||||
| 	level.bots_maxShotgunDistance = 500; | ||||
| 	level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance; | ||||
| 	level.bots_listenDist = 100; | ||||
| 	level.bots_listenDist *= level.bots_listenDist; | ||||
| 	 | ||||
| 	level.smokeRadius = 255; | ||||
|  | ||||
|   | ||||
| @@ -2274,9 +2274,6 @@ bot_listen_to_steps() | ||||
| 	for(;;) | ||||
| 	{ | ||||
| 		wait 1; | ||||
| 		 | ||||
| 		if(self HasScriptGoal() || self.bot_lock_goal) | ||||
| 			continue; | ||||
| 			 | ||||
| 		if(self.pers["bots"]["skill"]["base"] < 3) | ||||
| 			continue; | ||||
| @@ -2324,6 +2321,9 @@ bot_listen_to_steps() | ||||
| 			self setAttacker(heard); | ||||
| 			continue; | ||||
| 		} | ||||
|  | ||||
| 		if(self HasScriptGoal() || self.bot_lock_goal) | ||||
| 			continue; | ||||
| 		 | ||||
| 		self SetScriptGoal( heard.origin, 64 ); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user