Examples of areNeighborsEmpty()


Examples of l2p.gameserver.model.L2WorldRegion.areNeighborsEmpty()

              {
                char_ai.stopAITask();
                char_ai.teleportHome(true);
                count++;
                L2WorldRegion region = npc.getCurrentRegion();
                if(region != null && !region.areNeighborsEmpty())
                {
                  char_ai.startAITask();
                  count2++;
                }
              }
View Full Code Here

Examples of l2p.gameserver.model.L2WorldRegion.areNeighborsEmpty()

    if(!isGlobalAI() && System.currentTimeMillis() - _lastActiveCheck > 60000)
    {
      _lastActiveCheck = System.currentTimeMillis();
      L2NpcInstance actor = getActor();
      L2WorldRegion region = actor == null ? null : actor.getCurrentRegion();
      if(region == null || region.areNeighborsEmpty())
      {
        if(_aiTask == null)
        {
          return;
        }
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.