This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.5
PTR
10.2.6
Talky macros
Post Reply
Return to board index
Post by
302872
This post was from a user who has deleted their account.
Post by
Shadax
Well, I can't completely answer your question, but I can lead you in the right direction perhaps. Maybe someone with a bit more macro writing experience can confirm/correct this statement, but I don't believe macros can currently be written to work based on an ability being successful.
I do know that you can write a macro to /use <ability> followed by a /script command for the sound file you're looking for. You MIGHT even be able to write it as a cast sequence with a cooldown/refresh/whatever it's called of the same periodicity of the cooldown of the ability, which could prevent it from playing the sound file if it's still on cooldown. Doesn't solve the stun though.
That being said, I do believe that with a little reading up, you can write a small, simple add-on for yourself that will scan your chat log for text strings, and then do things based on that. I had a friend write one that would play a special sound when he got a crit (WAY back when crits were fairly rare), and another that would look for "omg wipe" and then it would play the Benny Hill music (which was hilarious when timed properly). Granted, he codes for a living, but based on what he was saying, both were fairly simple. If you did this, you'd just have to have it look for "(charname) has gained <ability name>" or whatever specific format the combat log uses for it, and it'll play it then. That will allow it to only work when the ability works.
Post by
Yunaleia
Just add the reset=X where x=time in seconds. So for berserk you'd have:
/cast reset=180 Berserk
/script <path>
What this should do, not totally sure, is put the macro keybind on "cd" until 3 minutes are up and until it is you cant activate the macro again and thus the script shouldnt run either, but Im not 100% sure.
Post by
302872
This post was from a user who has deleted their account.
Post by
Nipah
/script PlaySoundFile("Sound\\Creature\\Mrsmite\\Mrsmitealarm01.Wav")
/script PlaySoundFile("Sound\\Creature\\Mrsmite\\Mrsmitealarm02.Wav")
/script PlaySoundFile("Sound\\Creature\\Mrsmite\\Mrsmitecombat01.Wav")
/script PlaySoundFile("Sound\\Creature\\Mrsmite\\Mrsmitecombat02.Wav")
I can help with the sound files at least.
Post by
302872
This post was from a user who has deleted their account.
Post by
Nipah
Excellent, thanks a bunch. =D
I miss Mr. Smite. =(
He's in a better place now...
I like to think he's having a drink with Captain Placeholder, in the place where NPCs go when they're replaced. *tears up a little*
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.