Examples of stopAITask()


Examples of l2p.gameserver.ai.L2CharacterAI.stopAITask()

              final java.lang.reflect.Field field = l2p.gameserver.ai.DefaultAI.class.getDeclaredField("AI_TASK_DELAY");
              field.setAccessible(true);
              field.set(char_ai, interval);
              if(char_ai.isActive())
              {
                char_ai.stopAITask();
                char_ai.teleportHome(true);
                count++;
                L2WorldRegion region = npc.getCurrentRegion();
                if(region != null && !region.areNeighborsEmpty())
                {
View Full Code Here

Examples of lineage2.gameserver.ai.CharacterAI.stopAITask()

    }
    if (oldAI != null)
    {
      if (oldAI.isActive())
      {
        oldAI.stopAITask();
        newAI.startAITask();
        newAI.setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
      }
    }
  }
View Full Code Here

Examples of lineage2.gameserver.ai.CharacterAI.stopAITask()

              final java.lang.reflect.Field field = lineage2.gameserver.ai.DefaultAI.class.getDeclaredField("AI_TASK_DELAY");
              field.setAccessible(true);
              field.set(char_ai, interval);
              if (char_ai.isActive())
              {
                char_ai.stopAITask();
                count++;
                WorldRegion region = npc.getCurrentRegion();
                if ((region != null) && region.isActive())
                {
                  char_ai.startAITask();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.