Examples of moveToLocation()


Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

    final int z = GeoEngine.getHeight(x, y, sloc.z, actor.getGeoIndex());
    switch (actor.getNpcId())
    {
      case Boy:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Girl:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Girl:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Rabbits:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Rabbits:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Rabbits2:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Rabbits2:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Marsha:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      case Marsha:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      default:
        actor.moveToLocation(x, y, z, 0, true);
        break;
    }
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

      case Marsha:
        actor.setRunning();
        actor.moveToLocation(x, y, z, 0, true);
        break;
      default:
        actor.moveToLocation(x, y, z, 0, true);
        break;
    }
    return true;
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

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

Examples of lineage2.gameserver.model.instances.NpcInstance.moveToLocation()

   */
  private void moveOrTeleportToLocation(Location loc)
  {
    final NpcInstance actor = getActor();
    actor.setRunning();
    if (actor.moveToLocation(loc, 0, true))
    {
      return;
    }
    clientStopMoving();
    _pathfindFails = 0;
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.