이 사이트는 자바스크립트를 사용합니다.
브라우저에서 자바스크립트를 활성화 해주십시오.
라이브
PTR
10.2.7
PTR
10.2.6
베타
Identify currently-playing sound file -- how to?
답글 달기
보드 인덱스로 돌아가기
fwcain
의 게시글
I'd like to know how (or even *if*) I can get the game to tell me which specific sound file it is currently playing. I'm hoping there is some quasi-secret (i.e. unknown to me) macro command that I'll need to use.
Can anyone out there please help me with this? Thanks!
550132
의 게시글
This post was from a user who has deleted their account.
fwcain
의 게시글
I just tried those two (thanks, BTW), and they just mirror back their code. That is, my character "says" the macro's code, instead of the name of the sound-file. Did I do something wrong?
HighFive
의 게시글
http://www.mmo-champion.com/threads/709539-HowTo-Make-a-code-snippet-into-an-addon-in-twelve-easy-steps
This is pretty short, though.
You could do just/run hooksecurefunc('PlaySound',function(sound) print('PlaySound:',sound) end) hooksecurefunc('PlaySoundFile',function(sound) print('PlaySoundFile:',sound) end)
Neffi
의 게시글
Sorry, I sometimes go on the assumption that people know how to code.
Whenever you see a block like that, you can either condense it into a /run command just like HighFive did above (it's okay to remove line-breaks and make it all one line, Lua scripts are not sensitive to that). Or you can take the code as-is, and place it in a
DevPad
page, and then execute it (play button seen at the top-left of the text input window
>here<
.) DevPad is especially nice, because you can also have it automatically execute scripts upon login, so anytime you want to make a quasi-addon to do something like this, you can just put it inside a DevPad page and enable auto-execute. (Not to mention it also makes for a wonderful in-game notepad.)
fwcain
의 게시글
Thanks, all. Unfortunately, the results from this macro tell me that I've actually asked the wrong question. (Shame on me.)
What y'all gave me was a macro to begin identifying all of the sound-effects being played (e.g.: "open packs" or "open talents"). What I really wanted was the file-path of the scene-specific musical tracks (e.g.:
명가의 애가
). Hopefully, this time I've phrased my request more accurately. ;-)
Thanks, again.
답글 달기
로그인이 되어있지 않습니다. 답글을 달려면
로그인
하거나, 계정이 없다면
회원가입
을 해 주세요.