mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 07:55:43 +00:00
abstract class choice
This commit is contained in:
parent
26e0344a56
commit
a11119abe3
@ -248,7 +248,7 @@ classWatch()
|
||||
|
||||
for(;;)
|
||||
{
|
||||
while(!isdefined(self.pers["team"]) || level.oldschool)
|
||||
while(!isdefined(self.pers["team"]) || !allowClassChoice())
|
||||
wait .05;
|
||||
|
||||
wait 0.5;
|
||||
@ -271,7 +271,7 @@ teamWatch()
|
||||
|
||||
for(;;)
|
||||
{
|
||||
while(!isdefined(self.pers["team"]))
|
||||
while(!isdefined(self.pers["team"]) || !allowTeamChoice())
|
||||
wait .05;
|
||||
|
||||
wait 0.05;
|
||||
|
@ -517,6 +517,22 @@ waittill_either_return(str1, str2)
|
||||
return str2;
|
||||
}
|
||||
|
||||
/*
|
||||
iw5
|
||||
*/
|
||||
allowClassChoice()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
iw5
|
||||
*/
|
||||
allowTeamChoice()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
Taken from iw4 script
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user