abstract class choice

This commit is contained in:
ineedbots 2021-06-14 13:20:39 -06:00
parent 26e0344a56
commit a11119abe3
2 changed files with 18 additions and 2 deletions

View File

@ -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;

View File

@ -517,6 +517,22 @@ waittill_either_return(str1, str2)
return str2;
}
/*
iw5
*/
allowClassChoice()
{
return true;
}
/*
iw5
*/
allowTeamChoice()
{
return true;
}
/*
Taken from iw4 script
*/