1. #1

    [WeakAuras] Periodic sound playback

    I want to give the hunter's barrage a machinnegun-like sound. E.g.: /script PlaySoundFile("sound\\spells\\fx_uni_machineguneffect_cast_01.ogg")

    But with the standard WeakAuras sound playback, it only plays once, or twice on hide. Is there a way to define a custom lua function that is able to do that?

    Kind of like in this video, he did it with TellMeWhen


  2. #2
    Field Marshal Ironi's Avatar
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    78
    Code:
    dytxcaGljQTrQWmLKMRKYSv4tK42k1orj7fSBuTFvJsc1FjLFdPHQenyKHdHdkbDkjIJrqNJuLwOe4Wuz5q1drPEkLhtupxrtus1uLYKHY0fUijDvLWLfDDPAJKQ4EOOnRK2or8zcnliY0ivY3jv14qHwgky0sIXtQOtkr6wsiNMQoprALeyyquFJuPgecnW2GHbgg0aBG6WGgy4OJeAGT7JWdniGaSWnsEanW29r4HgeqagUtoHgy7(i8qdciGam8u0JYBsrKG5Lr5G5XaRahoUtmn0ohBcwG7fftCObwifrcMCFgOBWsjjpMGTGvPnnBPA1QSl0AA2c2SvvRRwhm5(mq3AHuejyPKKhGj3Nb6gS1oxo8O8I13Pkj5bsN6CFG0PjICmy52zjxWPtNo5xpPVtvsYJtmzEszbRsBA2s1QvzxO10SfSzRQwxTUYPOsYVGtNoD60PtN8RN6CFCIjZtkigoPjUYjhh70erogSC78etMNukWHJ7etLtrLKFbNoD60PtNoD60PtlhoPgANJPh)ilwzI25y1QnrKJXSwTvDQ15ETTtUINNIDEUUMYHMSBgAilSmQOOcskB3msCLsUGtNoD60PtNso2fC60Ptjh7csogyY9zGU1Q4XsWc)oXGamEF3W9IIj(eyjecWMGXqzKlR3YmwKWIexzqh62XiJGjbyjuxmGmeaa
    close enough, im too lazy to mimic the sound cluttering 'effect' in the video
    Abandon the search for Truth; settle for a good fantasy.
    Feel free to contact Ironi@Quakenet if you need help with your WeakAuras

  3. #3
    Thanks alot^^

    Im a bit familiar with java, is there a good article or book where I can get in touch with lua, and the WoW API in particular?

  4. #4
    Quote Originally Posted by execrutr View Post
    Im a bit familiar with java, is there a good article or book where I can get in touch with lua, and the WoW API in particular?
    http://www.lua.org/start.html -- you should find it fairly simple to get started with, given Java knowledge.

    http://wow.gamepedia.com/Api and http://wowprogramming.com/docs are good references.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •