Answered An stupid question...

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
5,086
Reaction score
2,880
Points
1,103
Try this:
Code:
isbotspawned()
{
    foreach(player in level.players)
    {
        if(isDefined (player.pers["isBot"]) && player.pers["isBot"])
        {
            if( isalive( player ) )
                return true;
            else
                return false;
        }
        else
            return false;
    }
}
If it returns true, there are spawned bots.
 
Top