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.L2Summon.teleToLocation()

          // teleport summon to
          if (_playerTwo.getPet() != null)
          {
            L2Summon summon = _playerTwo.getPet();
            if (summon instanceof L2SummonInstance)
              summon.teleToLocation(_stadiumPort[0] - 900, _stadiumPort[1], _stadiumPort[2], false);
          }

          _playerOne.sendPacket(new ExOlympiadMode(2));
          _playerTwo.sendPacket(new ExOlympiadMode(2));
         
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
          if (activeChar.isDead())
          {
            activeChar.doRevive();
          }
          activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
          }
        }
       
         if (DM._joining || DM.is_started())
        {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
          if (activeChar.isDead())
          {
            activeChar.doRevive();
          }
          activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
          }
        }
       
         if (activeChar.isInsideZone(L2Character.ZONE_KAMALOKA) && !activeChar.isInKamaloka())
          {
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
          if (activeChar.isDead())
          {
            activeChar.doRevive();
          }
          activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
          }
       
        EnterGM(activeChar);

        Quest.playerEnter(activeChar);
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
            L2PcInstance player = (L2PcInstance) character;

            if(player.isOnline() == 1)
            {
              player.teleToLocation(MapRegionTable.TeleportWhereType.Town);
            }

            player = null;
          }
        }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
            L2PcInstance player = (L2PcInstance) character;

            if(player.isOnline() == 1)
            {
              player.teleToLocation(Rnd.get(_spawnLoc[0], _spawnLoc[1]), Rnd.get(_spawnLoc[2], _spawnLoc[3]), _spawnLoc[4]);
            }

            player = null;
          }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

       
        if(_x == 0 && _y == 0 && activeChar.getX() != 0)
          return;
       
        if(activeChar.getX() == 0 && activeChar.getY() == 0) {
          activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town);
          clientToServer(activeChar);
        }
       
        int realX = activeChar.getX();
        int realY = activeChar.getY();
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
            L2PcInstance player = (L2PcInstance) character;

            if(player.isOnline() == 1)
            {
              player.teleToLocation(getXFix(Config.KAMALOKA_PORT_OUT_X + Rnd.get(50)), getYFix(Config.KAMALOKA_PORT_OUT_Y + Rnd.get(50)), getZFix(Config.KAMALOKA_PORT_OUT_Z));
              player.setInKamaloka(false);
            }

            player = null;
          }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
            L2PcInstance player = (L2PcInstance) character;

            if(player.isOnline() == 1)
            {
              player.teleToLocation(getXFix(Config.KAMALOKA_PORT_OUT_X + Rnd.get(50)), getYFix(Config.KAMALOKA_PORT_OUT_Y + Rnd.get(50)), getZFix(Config.KAMALOKA_PORT_OUT_Z));
              player.setInKamaloka(false);
            }

            player = null;
          }
    View Full Code Here

    Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.teleToLocation()

          {
            L2PcInstance player = (L2PcInstance) character;

            if(player.isOnline() == 1)
            {
              player.teleToLocation(getXFix(Config.KAMALOKA_PORT_OUT_X + Rnd.get(50)), getYFix(Config.KAMALOKA_PORT_OUT_Y + Rnd.get(50)), getZFix(Config.KAMALOKA_PORT_OUT_Z));
              player.setInKamaloka(false);
            }

            player = 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.