Jump to content
Sign in to follow this  
i214chess

supress disable audio for macro to cast spell

Recommended Posts

Any tips on how to disable error sound or printing of error messages for specific macro? Combat log will display (and I also hear error sound): `You fail to cast Fireball: No target.`. I bind hotkey to mouse scroll wheel up.
 
Here is a video, do you hear the clicking? the other casting noise too? https://streamable.com/3kkou
 
Quote

 

/console Sound_EnableSFX 0
/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/cast Fireball
/console Sound_EnableSFX 1
/script UIErrorsFrame:Clear();

 

---

UPDATE: http://www.evernote.com/l/AM8aGOXoH45OYqwDG7UrfR17SydQofnGyG0/

 

 

Edited by i214chess
update with answer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×