Examples of moveToLocation()


Examples of lineage2.gameserver.model.Player.moveToLocation()

    }
    if (activeChar.isInFlyingTransform())
    {
      _targetLoc.z = Math.min(5950, Math.max(50, _targetLoc.z));
    }
    activeChar.moveToLocation(_targetLoc, 0, (_moveMovement != 0) && !activeChar.getVarB("no_pf"));
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Summon.moveToLocation()

            break;
          case 53:
            if ((target != null) && (servitor != target) && !servitor.isMovementDisabled())
            {
              servitor.setFollowMode(false);
              servitor.moveToLocation(target.getLoc(), 100, true);
            }
            break;
          case 1000:
            if ((target != null) && !target.isDoor())
            {
View Full Code Here

Examples of lineage2.gameserver.model.entity.boat.ClanAirShip.moveToLocation()

        case 0:
          if (!airship.isCustomMove())
          {
            break;
          }
          airship.moveToLocation(airship.getLoc().setX(_param1).setY(_param2), 0, false);
          break;
        case 2:
          if (!airship.isCustomMove())
          {
            break;
View Full Code Here

Examples of lineage2.gameserver.model.entity.boat.ClanAirShip.moveToLocation()

        case 2:
          if (!airship.isCustomMove())
          {
            break;
          }
          airship.moveToLocation(airship.getLoc().changeZ(100), 0, false);
          break;
        case 3:
          if (!airship.isCustomMove())
          {
            break;
View Full Code Here

Examples of lineage2.gameserver.model.entity.boat.ClanAirShip.moveToLocation()

        case 3:
          if (!airship.isCustomMove())
          {
            break;
          }
          airship.moveToLocation(airship.getLoc().changeZ(-100), 0, false);
          break;
      }
    }
  }
}
View Full Code Here

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

    actor.setRunning();
    if ((actor.getDistance(target) < 100) || (currentState == 0) || (currentState >= coords.length))
    {
      if (currentState < coords.length)
      {
        actor.moveToLocation(coords[currentState][0], coords[currentState][1], coords[currentState][2], Rnd.get(0, 50), true);
        if (actor.getDestination() == null)
        {
          ++currentState;
        }
      }
View Full Code Here

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

    if ((obj != null) && obj.isNpc())
    {
      NpcInstance temp = (NpcInstance) obj;
      Player activeChar = client.getActiveChar();
      temp.setTarget(activeChar);
      temp.moveToLocation(activeChar.getLoc(), 0, true);
    }
  }
 
  /**
   * Method playerHelp.
View Full Code Here

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

      if ((actor.getDistance(target) < 100) || (currentState >= coords.length) || (currentState == 0))
      {
        st.unset("saytimes");
        if (currentState < coords.length)
        {
          actor.moveToLocation(coords[currentState][0], coords[currentState][1], coords[currentState][2], Rnd.get(0, 50), true);
          if (actor.getDestination() == null)
          {
            ++currentState;
          }
        }
View Full Code Here

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

      if ((actor.getDistance(target) < 100) || (currentState1 >= coords.length))
      {
        if (currentState1 < coords.length)
        {
          st.unset("saytimes");
          actor.moveToLocation(coords[currentState1][0], coords[currentState1][1], coords[currentState1][2], Rnd.get(0, 50), true);
          if (actor.getDestination() == null)
          {
            ++currentState1;
          }
        }
View Full Code Here

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

          closestItem = (ItemInstance) obj;
        }
      }
      if (closestItem != null)
      {
        actor.moveToLocation(closestItem.getLoc(), 0, true);
      }
    }
    return false;
  }
 
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.