Examples of SetTrajet1()


Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.SetTrajet1()

        return;
      }
      L2AirShip newAirship = new L2AirShip(player.getClan(), "airship", 0);
      AirShipDock ad = AirShipDocksTable.getInstance().getAirShipDockByNpcId(getNpcId());
      L2VehicleManager.getInstance().addStaticItem(newAirship);
      newAirship.SetTrajet1(ad.getArrivalTrajetId(), 0, null, null);
      newAirship.spawn();
      Functions.npcShoutCustomMessage(this, "l2p.gameserver.model.instances.L2AirShipControllerInstance.AirshipSummoned");
      if(_autoDepartureTask != null)
      {
        _autoDepartureTask.cancel(true);
View Full Code Here

Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.SetTrajet1()

          int dockID = readD();
          int currentDockNpcId = airship.getCurrentDockNpcId();
          AirShipDock curAD = AirShipDocksTable.getInstance().getAirShipDockByNpcId(currentDockNpcId);
          if(curAD.getId() == dockID)
          {
            airship.SetTrajet1(curAD.getDepartureTrajetId(), 0, null, null);
            airship._cycle = 1;
            airship.begin();
          }
          else
          {
View Full Code Here

Examples of l2p.gameserver.model.entity.vehicle.L2AirShip.SetTrajet1()

            airship._cycle = 1;
            airship.begin();
          }
          else
          {
            airship.SetTrajet1(curAD.getDepartureTrajetId(), 0, null, null);
            L2VehiclePoint bp = new L2VehiclePoint();
            bp.speed1 = airship._speed1;
            bp.speed2 = airship._speed2;
            AirShipDock destAD = AirShipDocksTable.getInstance().getAirShipDock(dockID);
            bp.x = destAD.getLoc().x;
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.