Examples of PlaySound


Examples of lineage2.gameserver.network.serverpackets.PlaySound

  @Override
  protected void onEvtDead(Creature killer)
  {
    final Reflection r = actor.getReflection();
    r.setReenterTime(System.currentTimeMillis());
    actor.broadcastPacket(new PlaySound(PlaySound.Type.MUSIC, "BS02_D", 1, actor.getObjectId(), actor.getLoc()));
    super.onEvtDead(killer);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

  @Override
  protected void onEvtDead(Creature killer)
  {
    final Reflection r = actor.getReflection();
    r.setReenterTime(System.currentTimeMillis());
    actor.broadcastPacket(new PlaySound(PlaySound.Type.MUSIC, "BS02_D", 1, actor.getObjectId(), actor.getLoc()));
    super.onEvtDead(killer);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

   */
  @Override
  public void call(GlobalEvent event)
  {
    GameObject object = event.getCenterObject();
    PlaySound packet = null;
    if (object != null)
    {
      packet = new PlaySound(_type, _sound, 1, object.getObjectId(), object.getLoc());
    }
    else
    {
      packet = new PlaySound(_type, _sound, 0, 0, 0, 0, 0);
    }
    List<Player> players = event.broadcastPlayers(_range);
    for (Player player : players)
    {
      if (player != null)
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

  public void playSound(String sound)
  {
    Player player = getPlayer();
    if (player != null)
    {
      player.sendPacket(new PlaySound(sound));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

  public void playTutorialVoice(String voice)
  {
    Player player = getPlayer();
    if (player != null)
    {
      player.sendPacket(new PlaySound(PlaySound.Type.VOICE, voice, 0, 0, player.getLoc()));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

    r.setReenterTime(System.currentTimeMillis());
    for (Player p : r.getPlayers())
    {
      p.sendPacket(new ExSendUIEvent(p, 1, 1, 0, 0));
    }
    actor.broadcastPacket(new PlaySound(PlaySound.Type.MUSIC, "BS02_D", 1, actor.getObjectId(), actor.getLoc()));
    super.onEvtDead(killer);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

      else
      {
        npc.broadcastPacket(new ExShowScreenMessage(NpcString.ISTINA_SOUL_STONE_STARTS_POWERFULLY_ILLUMINATING_IN_RED, 5000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, true, 1, 0, true));
      }
    }
    npc.broadcastPacket(new PlaySound("istina.istina_voice_01"));
    ThreadPoolManager.getInstance().schedule(new runAuthorityRing(npc), 10000L);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

      st.playSound(SOUND_MIDDLE);
    }
    else if (event.equalsIgnoreCase("kirikachin_q111_2.htm"))
    {
      st.setCond(7);
      player.sendPacket(new PlaySound("EtcSound.elcroki_song_full"));
    }
    else if (event.equalsIgnoreCase("kirikachin_q111_3.htm"))
    {
      st.setCond(8);
      st.playSound(SOUND_MIDDLE);
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

   * @param killer Creature
   */
  @Override
  protected void onDeath(Creature killer)
  {
    broadcastPacketToOthers(new PlaySound(PlaySound.Type.MUSIC, "BS02_D", 1, 0, getLoc()));
    Functions.deSpawnNPCs(_spawns);
    Larva = null;
    super.onDeath(killer);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PlaySound

  @Override
  protected void onSpawn()
  {
    super.onSpawn();
    getLarva();
    broadcastPacketToOthers(new PlaySound(PlaySound.Type.MUSIC, "BS01_A", 1, 0, getLoc()));
  }
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.