View previous topic :: View next topic |
Author |
Message |
Thraikan
Guest
|
Posted: Sat Aug 20, 2005 2:10 pm Post subject: How could I get the Mortal Kombat sounds to work in pve |
|
|
I am willing to edit code but I dont know what I need to make to work on mobs. I know itll have to do with like
Code: | function MKombat_OnEvent()
if( event == "UNIT_HEALTH") then
if( arg1 == "target" and UnitHealth("target") < 20 and UnitHealth("target") > 0 and not healthFinishHim ) then
if( UnitName("target") and UnitIsPlayer("target") and UnitIsEnemy("player", "target") ) then
-- PLAY FINISH HIM!!!
MKombat_PlayFile( g_MKombat_Packs[MK_CurrentPack]["FINISH_THEM"] );
healthFinishHim = true;
end |
the unitisplayer("target"), possibly, but I dont know what to do, I want all the pvp features to work with pve |
|
Back to top |
|
 |
Guest
|
Posted: Sat Aug 20, 2005 3:11 pm Post subject: |
|
|
HAHA i got it to work, only thing not working is the UT sounds like multi kill etc. |
|
Back to top |
|
 |
Kayde
Joined: 07 Aug 2005
Posts: 20
WR Updates: 811
Kayde WR Profile
|
Posted: Tue Aug 30, 2005 9:08 pm Post subject: |
|
|
Looks like your on your way! Good job in finding the needed code for your liking. |
|
Back to top |
|
 |
Jasmin
Joined: 12 Sep 2005
Posts: 1
WR Updates: 0
Jasmin WR Profile
|
Posted: Mon Sep 12, 2005 3:01 am Post subject: |
|
|
Finish Him! Thats gotta be a rush  _________________
 |
|
Back to top |
|
 |
Synn

Joined: 16 May 2006
Posts: 1
WR Updates: 0
Synn WR Profile
|
Posted: Tue May 16, 2006 4:30 am Post subject: |
|
|
Nice oneThraikan!
How about posting the code mate, i've been wondering how possible it would be to get it working for PVE for a warrior... IE:
"finish Him" on 20% (Good Warning for "Execute") then have the fatality / brutality play on the Executes type of attack... Crit or Not Crit...
Now cause i'm crap at coding... basic HTML is as far as i can go would you mind editting it to suit the warrior example i said above?
Would be great if you could |
|
Back to top |
|
 |
|
|