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

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

src/g/e/ges-python-HEAD/Ai/bot_deathmatch.py   ges-python(Download)
 
        # Register our custom memory callback
        self.GetSystem( AiSystems.MEMORY )._callback = self.bot_MemoryCallback
        self.GetSystem( AiSystems.WEAPONS ).param_callback = self.bot_WeaponParamCallback
 
        self.ClearCondition( Cond.GES_CAN_SEEK_ARMOR )
 
        memory = self.GetSystem( AiSystems.MEMORY )
 
        if self.GetEnemy() is not None:
    def OnDebugCommand( self, cmd ):
        memory = self.GetSystem( AiSystems.MEMORY )
        weapons = self.GetSystem( AiSystems.WEAPONS )
 
        if cmd == "dump_memory" and memory: