WarcraftReamls.com
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
Mkombat Addon Unrealt pack

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    WarcraftRealms.com Forum Index -> Other Mods
View previous topic :: View next topic  
Author Message
Aulox



Joined: 24 Dec 2006
Posts: 1

WR Updates: 0
Aulox WR Profile

PostPosted: Sun Dec 24, 2006 5:20 pm    Post subject: Mkombat Addon Unrealt pack Reply with quote

unrealt tornement have a problem with the kiling counts sound.
isnt working

suposse to play a multi kill sound after 4 kills but dosent play the sound

here is the word pad with the kiling count part

another thing after kiling 1 person can play the fisrt blood sound???


sorry for my english
thanks
You should define this function if you have any overrides or additions made in the added sound pack
function UT_MKombat_OnEvent()
if( event == "CHAT_MSG_COMBAT_HOSTILE_DEATH") then
local index = string.find( arg1, " dies." );
if( not index ) then
return;
end
local value = string.sub( arg1, 0, index-1 );
-- if we have a name
if( value and value==lastTarget) then
UT_KillCount = UT_KillCount + 1;
MKombat_Msg("|cffff3333 KILLS IN A ROW : " .. UT_KillCount .. "\n");
--now check our kill count
if( UT_KillCount > 1 ) then
if( UT_KilLCount > 2 ) then
if( UT_KillCount > 3 ) then
if( UT_KilLCount > 4 ) then
if( UT_KilLCount > 5 ) then
if( UT_KilLCount > 6 ) then --we killed 7 or more
MKombat_PlayFile( soundPath .. "ludicrouskill.wav" );
else --we killed 6
MKombat_PlayFile( soundPath .. "ultrakill.wav" );
end
else --we killed 5
MKombat_PlayFile( soundPath .. "monsterkill.wav" );
end
else --we killed 4
MKombat_PlayFile( soundPath .. "multikill.wav" );
end
else --we killed 3
MKombat_PlayFile( soundPath .. "rampage.wav" );
end
else --we killed 2
MKombat_PlayFile( soundPath .. "killingspree.wav" );
end
end
end
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    WarcraftRealms.com Forum Index -> Other Mods All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
WarcraftRealms.com  


Powered by phpBB © 2001, 2005 phpBB Group