mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
Changes
This commit is contained in:
parent
99d244bfab
commit
084f834e81
@ -142,6 +142,8 @@ onPlayerSpawned()
|
||||
|
||||
self thread UseRunThink();
|
||||
self thread watchUsingRemote();
|
||||
|
||||
// grenades (pick up too), knife (players and ents), walk, stinger, reload
|
||||
|
||||
self thread spawned();
|
||||
}
|
||||
@ -254,13 +256,14 @@ doRunDelay()
|
||||
{
|
||||
self endon("disconnect");
|
||||
self endon("death");
|
||||
self notify("bot_run_delay");
|
||||
self endon("bot_run_delay");
|
||||
|
||||
self.bot.run_in_delay = true;
|
||||
|
||||
wait 1;
|
||||
wait 1; // perk?
|
||||
|
||||
if (!self.bot.running)
|
||||
self.bot.run_in_delay = false;
|
||||
self.bot.run_in_delay = false;
|
||||
}
|
||||
|
||||
bot_lookat(pos, time, vel)
|
||||
@ -460,7 +463,7 @@ doSwitch()
|
||||
|
||||
self.bot.isswitching = true;
|
||||
|
||||
wait 1.5;
|
||||
wait 1;
|
||||
|
||||
self.bot.isswitching = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user