mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-21 21:45:43 +00:00
ok
This commit is contained in:
parent
841a46bdd1
commit
62c0ae961f
@ -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()
|
||||
{
|
||||
self endon( "death" );
|
||||
@ -2442,3 +2420,25 @@ bot_dom_cap_think()
|
||||
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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user