Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.MoveToPawn


            npc.setTarget(target);
            //npc.setIsCastingNow(true);
            _target = null;
            _skill = null;
            if (getDist(skill.getCastRange()) > 0)
                npc.broadcastPacket(new MoveToPawn(npc, target, getDist(skill.getCastRange())));
            try {
                wait(1000);
                npc.stopMove(null);
                npc.doCast(skill);
            } catch (Exception e) {
View Full Code Here


          _actor.broadcastPacket(new CharMoveToLocation(_actor));
          _clientMovingToPawnOffset = 0;
        }
        else if(sendPacket)
        {
          _actor.broadcastPacket(new MoveToPawn(_actor, (L2Character) pawn, offset));
        }
      }
      else
      {
        _actor.broadcastPacket(new CharMoveToLocation(_actor));
View Full Code Here

      final L2Character follow = getFollowTarget();
     
      if(_clientMovingToPawnOffset != 0 &&  follow!= null)
      {
        // Send a Server->Client packet MoveToPawn to the actor and all L2PcInstance in its _knownPlayers
        MoveToPawn msg = new MoveToPawn(_actor, follow, _clientMovingToPawnOffset);
        player.sendPacket(msg);
        msg = null;
      }
      else
      {
View Full Code Here

          moveToPawn(follow, _range);
        }
        else if(newtask)
        {
          newtask = false;
          _actor.broadcastPacket(new MoveToPawn(_actor, follow, _range));
        }
      }
      catch(Throwable t)
      {
        if(Config.ENABLE_ALL_EXCEPTIONS)
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.MoveToPawn

Copyright © 2018 www.massapicom. 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.