Examples of WorldRegion


Examples of lineage2.gameserver.model.WorldRegion

    }
    if (!isGlobalAI() && ((System.currentTimeMillis() - _lastActiveCheck) > 60000L))
    {
      _lastActiveCheck = System.currentTimeMillis();
      NpcInstance actor = getActor();
      WorldRegion region = actor == null ? null : actor.getCurrentRegion();
      if ((region == null) || !region.isActive())
      {
        stopAITask();
        return;
      }
    }
View Full Code Here

Examples of lineage2.gameserver.model.WorldRegion

              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();
                  count2++;
                }
              }
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.