Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.teleToLocation()


    L2NpcInstance npc = getNpc();
    if(player == null || npc == null)
    {
      return;
    }
    player.teleToLocation(46776, 185784, -3528, 0);
    show(player.isLangRus() ? "Я не знаю, как Вы попали сюда, но я могу Вас отправить за ограждение." : "I don't know from where you came here, but I can teleport you the another border side.", player, npc);
  }

  public String DialogAppend_30059(Integer val)
  {
View Full Code Here


    {
      player.sendMessage("Убейте сначала Tully.");
    }
    else
    {
      player.teleToLocation(-12220, 279696, -13592);
    }
  }

  class CloseDoor implements Runnable
  {
View Full Code Here

        L2Party party = player.getParty();
        party.oustPartyMember(player);
      }
      L2Zone zone = ZoneManager.getInstance().getZoneById(L2Zone.ZoneType.OlympiadStadia, 3001 + _game.getId(), false);
      int[] tele = zone.getSpawns().get(_side - 1);
      player.teleToLocation(tele[0], tele[1], tele[2], 0);
      if(_type == CompType.TEAM_RANDOM || _type == CompType.TEAM)
      {
        player.setTeam(_side, true);
      }
      player.sendPacket(new ExOlympiadMode(_side));
View Full Code Here

    try
    {
      if(_returnLoc != null)
      {
        player.setReflection(_returnRef);
        player.teleToLocation(_returnLoc);
      }
      else
      {
        player.setReflection(0);
        player.teleToClosestTown();
View Full Code Here

      if(activeChar.getTeleMode() == 1)
      {
        activeChar.setTeleMode(0);
      }
      activeChar.sendActionFailed();
      activeChar.teleToLocation(_targetLoc);
      return;
    }
    int water_z = activeChar.getWaterZ();
    if(water_z != Integer.MIN_VALUE && _targetLoc.z > water_z)
    {
View Full Code Here

    public void TeleportBack()
    {
      L2Player player = getPlayer();
      if(player != null && _paDuel)
      {
        player.teleToLocation(_x, _y, _z);
      }
    }

    public L2Player getPlayer()
    {
View Full Code Here

          pl.teleToLocation(149361, 172327, -945, 0);
        }
      }
      else
      {
        player.teleToLocation(149361, 172327, -945, 0);
      }
      return null;
    }
    return event;
  }
View Full Code Here

            if(_isItemHandler)
            {
              //TODO: переделать SOE по TownId на SOE по Loc_id
              if(_itemConsumeId[0] == 7125) // floran
              {
                pcTarget.teleToLocation(17144, 170156, -3502, 0);
                return;
              }
              if(_itemConsumeId[0] == 7127) // hardin's academy
              {
                pcTarget.teleToLocation(105918, 109759, -3207, 0);
View Full Code Here

                pcTarget.teleToLocation(17144, 170156, -3502, 0);
                return;
              }
              if(_itemConsumeId[0] == 7127) // hardin's academy
              {
                pcTarget.teleToLocation(105918, 109759, -3207, 0);
                return;
              }
              if(_itemConsumeId[0] == 7130) // ivory
              {
                pcTarget.teleToLocation(85475, 16087, -3672, 0);
View Full Code Here

                pcTarget.teleToLocation(105918, 109759, -3207, 0);
                return;
              }
              if(_itemConsumeId[0] == 7130) // ivory
              {
                pcTarget.teleToLocation(85475, 16087, -3672, 0);
                return;
              }
              if(_itemConsumeId[0] == 9716) // Scroll of Escape: Kamael Village for starters
              {
                pcTarget.teleToLocation(-120000, 44500, 352, 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.