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

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

src/g/e/ges-python-HEAD/Ai/Tasks/common.py   ges-python(Download)
        # If we have a memory, try to find the closest armor we remember
        if memory is not None:
            armor_memories = memory.FindMemoriesByType( Memory.TYPE_ARMOR )
            if len( armor_memories ) > 0:
                npc.SetTargetPos( armor_memories[0].location )