1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

registering new sounds

Discussion in 'Development' started by Levi, Jun 20, 2018.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    how can i register XpOrb sound??

    tried
    PHP:
    $level->addSound(new GenericSound($pos11051));
     
    Last edited: Jun 20, 2018
  2. byyEmirhanWSD

    byyEmirhanWSD Witch

    Messages:
    50
    GitHub:
    EmirhanWSD
    Use LevelSoundEventPacket.
     
  3. byyEmirhanWSD

    byyEmirhanWSD Witch

    Messages:
    50
    GitHub:
    EmirhanWSD
    Or broadcastLevelSoundEventPacket function. (I dont remember)
     
    Last edited: Jun 20, 2018
  4. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    where are the sound ids at
     
  5. byyEmirhanWSD

    byyEmirhanWSD Witch

    Messages:
    50
    GitHub:
    EmirhanWSD
    Look LevelSoundEventPacket consts.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.