Examples of moveToLocation()


Examples of l2p.gameserver.model.L2Playable.moveToLocation()

    {
      ThreadPoolManager.getInstance().executePathfind(new Runnable()
      {
        public void run()
        {
          actor.moveToLocation(target.getLoc(), 10, true);
          setNextAction(nextAction.PICKUP, target, null, false, false);
        }
      });
    }
  }
View Full Code Here

Examples of l2p.gameserver.model.L2Playable.moveToLocation()

          return false;
        }
        Location loc = (Location) nextAction_arg0;
        Integer offset = (Integer) nextAction_arg1;
        clearNextAction();
        actor.moveToLocation(loc, offset, nextAction_arg2);
        break;
      case REST:
        actor.sitDown();
        break;
      case INTERACT:
View Full Code Here

Examples of l2p.gameserver.model.L2Playable.moveToLocation()

      }
      setIntention(AI_INTENTION_ACTIVE);
    }
    else
    {
      actor.moveToLocation(target.getLoc(), 40, true);
      setNextAction(nextAction.INTERACT, target, null, false, false);
    }
  }

  @Override
View Full Code Here

Examples of l2p.gameserver.model.L2Summon.moveToLocation()

          pet.setFollowStatus(false, true);
          ThreadPoolManager.getInstance().executePathfind(new Runnable()
          {
            public void run()
            {
              pet.moveToLocation(target.getLoc(), 100, true);
            }
          });
        }
        break;
      case 1070:
View Full Code Here

Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.moveToLocation()

        case 0: // Free move
          if(airship.isDocked() || !airship.isArrived())
          {
            break;
          }
          airship.moveToLocation(airship.getLoc().setX(readD()).setY(readD()), 0, false);
          break;
        case 2: // Up
          if(airship.isDocked() || !airship.isArrived())
          {
            break;
View Full Code Here

Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.moveToLocation()

          {
            break;
          }
          readD(); //?
          readD(); //?
          airship.moveToLocation(airship.getLoc().changeZ(100), 0, false);
          break;
        case 3: // Down
          if(airship.isDocked() || !airship.isArrived())
          {
            break;
View Full Code Here

Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.moveToLocation()

          {
            break;
          }
          readD(); //?
          readD(); //?
          airship.moveToLocation(airship.getLoc().changeZ(-100), 0, false);
          break;
      }
    }
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.moveToLocation()

    {
      Functions.npcSay(temp_npc, TEXT[6]);
      temp_npc.moveToLocation(new Location(-56511, -56647, -2008, 36863), 0, true);
      temp_npc.broadcastPacket(new PlaySound(1, "NS22_F", 0, 0, new Location()));
      L2NpcInstance elf = addSpawn(singer1, -56344, -56328, -2008, 32768);
      elf.moveToLocation(new Location(-56657, -56338, -2008, 33102), 0, true);
      L2NpcInstance elf1 = addSpawn(singer2, -56552, -56245, -2008, 36863);
      L2NpcInstance elf2 = addSpawn(singer2, -56546, -56426, -2008, 28672);
      L2NpcInstance elf3 = addSpawn(singer2, -56570, -56473, -2008, 28672);
      L2NpcInstance elf4 = addSpawn(singer2, -56594, -56516, -2008, 28672);
      L2NpcInstance elf5 = addSpawn(singer2, -56580, -56203, -2008, 36863);
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.moveToLocation()

    Location sloc = actor.getSpawnedLoc();
    int x = sloc.x + Rnd.get(2 * WALK_RANGE) - WALK_RANGE;
    int y = sloc.y + Rnd.get(2 * WALK_RANGE) - WALK_RANGE;
    int z = GeoEngine.getHeight(x, y, sloc.z, actor.getReflection().getGeoIndex());
    actor.setRunning();
    actor.moveToLocation(x, y, z, 0, true);
    return true;
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.moveToLocation()

    {
      int x = edwin.getX() + Rnd.get(2 * DRIFT_DISTANCE) - DRIFT_DISTANCE;
      int y = edwin.getY() + Rnd.get(2 * DRIFT_DISTANCE) - DRIFT_DISTANCE;
      int z = edwin.getZ();
      actor.setRunning(); // всегда бегают
      actor.moveToLocation(x, y, z, 0, true);
      return true;
    }
    return false;
  }

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.