Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/g/e/ges-python-HEAD/Ai/bot_gungame.py   ges-python(Download)
    def GatherConditions( self ):
        bot_deathmatch.GatherConditions( self )
        self.ClearCondition( Cond.GES_CLOSE_TO_ARMOR )
        self.ClearCondition( Cond.GES_CAN_SEEK_ARMOR )
        self.ClearCondition( Cond.GES_CLOSE_TO_WEAPON )
        self.ClearCondition( Cond.BETTER_WEAPON_AVAILABLE )
 
    def SelectSchedule( self ):
        # Just to be sure
        self.ClearCondition( Cond.BETTER_WEAPON_AVAILABLE )