I need a target macro that plays a sound

So you’re just looking to have a chime or something sound each time you target a new npc?

Disable your addons and try it? Maybe you have something installed that adds the functionality? LUA error everytime for me

One sec and I will test it. If it works, I will record it and see if I can post it somewhere like Youtube.

I tried it with all mine disabled just in case something was conflicting on my end but still getting the lua error

Here you go:
Please excuse how rough the video is; I never use youtube. So sorry if the quality sucks.

3 Likes

wow very cool! thanks for the lesson and you have a great voice, easy to understand

still would be nice to hear… “Got you sucka” instead of the BLEEP-Dong sound haha

10/10, almost as good as the random videos from Indian kids who have an oddly specific solution to the problems that stumped even the tech professionals.

If you disable sound effects and other sound channels except dialog can you still hear it?

Here you go Timekeeper, is this what you wanted to do?

Yeah this is what is happening to me.

Very Very weird, as you can see from my video, I am not getting any Lua errors.

Yeah thats perfect thats exactly what I am trying to due. Idk what conflict is happening on my end I disabled all addons, closed the game and reopened. and its still giving me lua error

Can you copy and paste what you have in your macro even tho im assuming its just copy and pasted from mine?

Help me Senpai. Where am I going wrong, lol?

I could not see a thing wrong on your end. I am going to post each of the macros:

Test 1:

/tar Sten Stoutarm
/script PlaySound(8959,“Dialog”)

Test 2:

/cleartarget
/tar Sten Stoutarm
/tar Time-Lost
/tar Vyra
/stopmacro [dead][noexists]
/tm 6
/script PlaySound(8959,“Dialog”)

Video starts a little fuzzy so can’t tell if you can see but I copy/pasta’d your macro exactly and still getting lua error… Weird

I am running another test. I completed removed my “Interface” fold from my classic directory and re-testing the macros.

Yeah without the “,“Dialog”)” it works, with it I get the blank LUA error. So for some reason ours must have an issue with that channel idk
Which itll still target me but no sound plays

Oh you’re right. Taking Dialog out fixes it on my end too. It’s targeting and playing a sound for me if I just do

/tar young thistle
/script PlaySound(8959)

Yeah so if you’re good with the sound effects you’re set to go. My issue is I dont want to hear the wind/whisp from sound effects, so I want to disable sound effects and be able to hear the sound still through the dialog channel

Interesting that you do not have the Dialog channel by default. Let me get my Audio setting and see if there is a difference there.

1 Like