Examples of teleToLocation()

  • com.l2jfrozen.gameserver.model.L2Summon.teleToLocation()
  • com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()
  • l2p.gameserver.model.L2Playable.teleToLocation()
  • l2p.gameserver.model.L2Player.teleToLocation()
  • l2p.gameserver.model.instances.L2NpcInstance.teleToLocation()
  • lineage2.gameserver.model.Player.teleToLocation()
    Method teleToLocation. @param x int @param y int @param z int @param refId int
  • lineage2.gameserver.model.instances.NpcInstance.teleToLocation()
    Method teleToLocation. @param loc Location
  • net.sf.l2j.gameserver.model.L2Character.teleToLocation()
    Teleport a L2Character and its pet if necessary.

    Actions :

  • Stop the movement of the L2Character
  • Set the x,y,z position of the L2Object and if necessary modify its _worldRegion
  • Send a Server->Client packet TeleportToLocationt to the L2Character AND to all L2PcInstance in its _KnownPlayers
  • Modify the position of the pet if necessary


  • @param x the x @param y the y @param z the z @param allowRandomOffset the allow random offset
  • net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

  • Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(56363, 218043, -3224, true);
            }
            else if (ch == 7)
            {
              target.teleToLocation(54245, 220162, -3224, true);
            }
            else if (ch == 8)
            {
              target.teleToLocation(56289, 220126, -3224, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(54245, 220162, -3224, true);
            }
            else if (ch == 8)
            {
              target.teleToLocation(56289, 220126, -3224, true);
            }
            else if (ch == 9)
            {
              target.teleToLocation(55299, 219120, -3496, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(56289, 220126, -3224, true);
            }
            else if (ch == 9)
            {
              target.teleToLocation(55299, 219120, -3496, true);
            }
            else if (ch == 10)
            {
              target.teleToLocation(56363, 218043, -3496, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(55299, 219120, -3496, true);
            }
            else if (ch == 10)
            {
              target.teleToLocation(56363, 218043, -3496, true);
            }
            else if (ch == 11)
            {
              target.teleToLocation(54245, 220162, -3496, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(56363, 218043, -3496, true);
            }
            else if (ch == 11)
            {
              target.teleToLocation(54245, 220162, -3496, true);
            }
            else if (ch == 12)
            {
              target.teleToLocation(56289, 220126, -3496, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(54245, 220162, -3496, true);
            }
            else if (ch == 12)
            {
              target.teleToLocation(56289, 220126, -3496, true);
            }
            else
            {
              target.teleToLocation(53930, 217760, -2944, true);
            }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

            {
              target.teleToLocation(56289, 220126, -3496, true);
            }
            else
            {
              target.teleToLocation(53930, 217760, -2944, true);
            }
          }
        }
        catch (Throwable e)
        {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

                activeChar.sendPacket(new SystemMessage(SystemMessageId.YOUR_TARGET_IS_IN_AN_AREA_WHICH_BLOCKS_SUMMONING));
                continue;
              }
            }
           
            target.teleToLocation(MapRegionTable.TeleportWhereType.Town);
            target = null;
          }
        }
        catch (Throwable e)
        {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Character.teleToLocation()

                activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_CANNOT_SUMMON_PLAYERS_WHO_ARE_IN_OLYMPIAD));
                continue;
              }
            }

            target.teleToLocation(Config.TELEPORT_X, Config.TELEPORT_Y, Config.TELEPORT_Z);
            target = null;
          }
        }
        catch(Throwable e)
        {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.L2Summon.teleToLocation()

          // teleport summon to
          if (_playerOne.getPet() != null)
          {
            L2Summon summon = _playerOne.getPet();
            if (summon instanceof L2SummonInstance)
              summon.teleToLocation(_stadiumPort[0] + 900, _stadiumPort[1], _stadiumPort[2], false);
          }
          _playerTwo.teleToLocation(_stadiumPort[0] - 900, _stadiumPort[1], _stadiumPort[2], false);
          // teleport summon to
          if (_playerTwo.getPet() != null)
          {
    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.