mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
dd done
This commit is contained in:
parent
6e7b1a84ef
commit
e37e5b2bf7
@ -5170,7 +5170,7 @@ bot_dem_attackers()
|
|||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
level endon("game_ended");
|
level endon("game_ended");
|
||||||
|
|
||||||
if ( level.gametype != "dem" )
|
if ( level.gametype != "dd" )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
myTeam = self.pers[ "team" ];
|
myTeam = self.pers[ "team" ];
|
||||||
@ -5353,6 +5353,9 @@ bot_dem_attackers()
|
|||||||
|
|
||||||
event = self waittill_any_return( "goal", "bad_path", "new_goal" );
|
event = self waittill_any_return( "goal", "bad_path", "new_goal" );
|
||||||
|
|
||||||
|
if (event != "new_goal")
|
||||||
|
self ClearScriptGoal();
|
||||||
|
|
||||||
if(event != "goal" || (plant.label == "_b" && level.bombBPlanted) || (plant.label == "_a" && level.bombAPlanted) || plant IsInUse() || !self isTouching(plant.trigger) || self InLastStand() || self HasThreat())
|
if(event != "goal" || (plant.label == "_b" && level.bombBPlanted) || (plant.label == "_a" && level.bombAPlanted) || plant IsInUse() || !self isTouching(plant.trigger) || self InLastStand() || self HasThreat())
|
||||||
{
|
{
|
||||||
self.bot_lock_goal = false;
|
self.bot_lock_goal = false;
|
||||||
@ -5379,7 +5382,7 @@ bot_dem_defenders()
|
|||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
level endon("game_ended");
|
level endon("game_ended");
|
||||||
|
|
||||||
if ( level.gametype != "dem" )
|
if ( level.gametype != "dd" )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
myTeam = self.pers[ "team" ];
|
myTeam = self.pers[ "team" ];
|
||||||
@ -5566,6 +5569,9 @@ bot_dem_defenders()
|
|||||||
|
|
||||||
event = self waittill_any_return( "goal", "bad_path", "new_goal" );
|
event = self waittill_any_return( "goal", "bad_path", "new_goal" );
|
||||||
|
|
||||||
|
if (event != "new_goal")
|
||||||
|
self ClearScriptGoal();
|
||||||
|
|
||||||
if(event != "goal" || (defuse.label == "_b" && !level.bombBPlanted) || (defuse.label == "_a" && !level.bombAPlanted) || defuse IsInUse() || !self isTouching(defuse.trigger) || self InLastStand() || self HasThreat())
|
if(event != "goal" || (defuse.label == "_b" && !level.bombBPlanted) || (defuse.label == "_a" && !level.bombAPlanted) || defuse IsInUse() || !self isTouching(defuse.trigger) || self InLastStand() || self HasThreat())
|
||||||
{
|
{
|
||||||
self.bot_lock_goal = false;
|
self.bot_lock_goal = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user