mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
Changes
This commit is contained in:
parent
99d244bfab
commit
084f834e81
@ -143,6 +143,8 @@ onPlayerSpawned()
|
|||||||
self thread UseRunThink();
|
self thread UseRunThink();
|
||||||
self thread watchUsingRemote();
|
self thread watchUsingRemote();
|
||||||
|
|
||||||
|
// grenades (pick up too), knife (players and ents), walk, stinger, reload
|
||||||
|
|
||||||
self thread spawned();
|
self thread spawned();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -254,12 +256,13 @@ doRunDelay()
|
|||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
self endon("death");
|
self endon("death");
|
||||||
|
self notify("bot_run_delay");
|
||||||
|
self endon("bot_run_delay");
|
||||||
|
|
||||||
self.bot.run_in_delay = true;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -460,7 +463,7 @@ doSwitch()
|
|||||||
|
|
||||||
self.bot.isswitching = true;
|
self.bot.isswitching = true;
|
||||||
|
|
||||||
wait 1.5;
|
wait 1;
|
||||||
|
|
||||||
self.bot.isswitching = false;
|
self.bot.isswitching = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user