This commit is contained in:
Your Name 2020-08-30 16:37:54 -06:00
parent 841a46bdd1
commit 62c0ae961f

View File

@ -2328,28 +2328,6 @@ bot_killstreak_think()
} }
} }
bot_dom_go_cap_flag(flag, myteam)
{
self endon( "death" );
self endon( "disconnect" );
self endon( "goal" );
self endon( "bad_path" );
self endon( "new_goal" );
for (;;)
{
wait 0.5;
if (!isDefined(flag))
break;
if (flag maps\mp\gametypes\dom::getFlagTeam() == myTeam)
break;
}
self notify("bad_path");
}
bot_dom_cap_think() bot_dom_cap_think()
{ {
self endon( "death" ); self endon( "death" );
@ -2442,3 +2420,25 @@ bot_dom_cap_think()
self.bot_lock_goal = false; self.bot_lock_goal = false;
} }
} }
bot_dom_go_cap_flag(flag, myteam)
{
self endon( "death" );
self endon( "disconnect" );
self endon( "goal" );
self endon( "bad_path" );
self endon( "new_goal" );
for (;;)
{
wait 0.5;
if (!isDefined(flag))
break;
if (flag maps\mp\gametypes\dom::getFlagTeam() == myTeam)
break;
}
self notify("bad_path");
}