moduspwnens wrote:I might do it if I could figure out how to get TJH to do it, yaknow, so it only does it when it successfully casts. I tend to spam them :O
open ThatJustHappened.lua and head on down to line 701 or search for
- Code: Select all
SendChatMessage(msg, "CHANNEL", nil, GetChannelName(channel));
and after that line, ADD:
- Code: Select all
elseif channel == "PLAYSOUND" then
PlaySoundFile(msg);
save and exit.
in game, create a tjh rule as such
- Code: Select all
/tjh rule SPELL_DAMAGE;YOURNAME;;Shield of Righteousness;self;PLAYSOUND;Sound\Spells\CleaveTarget.wav
substitute in your favorite sound file ;D
also, be aware that you have to use SINGLE slashes when listing the sound file in your rule, using DOUBLE slashes as you might normally will cause it not to play a sound..
id like to use the shield slam sound myself, but i cant seem to find it.. anyone have it?