mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-04-20 17:25:42 +00:00
for now
This commit is contained in:
parent
90e752d1a5
commit
7154032b99
Binary file not shown.
@ -532,7 +532,7 @@ onPlayerConnect()
|
||||
*/
|
||||
connected()
|
||||
{
|
||||
|
||||
self endon( "disconnect" );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -541,6 +541,10 @@ connected()
|
||||
added()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
wait 2;
|
||||
|
||||
self notify( "menuresponse", "changeclass", "class_smg");
|
||||
}
|
||||
|
||||
GetHostPlayer()
|
||||
@ -548,21 +552,33 @@ GetHostPlayer()
|
||||
return undefined;
|
||||
}
|
||||
|
||||
/*
|
||||
Waits for the host
|
||||
*/
|
||||
bot_wait_for_host()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
Good
|
||||
*/
|
||||
getGoodMapAmount()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
/*
|
||||
awdawd
|
||||
*/
|
||||
doExtraCheck()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
Picks random
|
||||
*/
|
||||
PickRandom( arr )
|
||||
{
|
||||
if ( !arr.size )
|
||||
@ -571,6 +587,9 @@ PickRandom( arr )
|
||||
return arr[randomInt( arr.size )];
|
||||
}
|
||||
|
||||
/*
|
||||
Returns array of bots
|
||||
*/
|
||||
getBotArray()
|
||||
{
|
||||
answer = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user