Search the Community
Showing results for tags 'label'.
Found 1 result
-
Hey guys... First, apollogies for my english... I'm looking for you help in here, 'cause no one could helped me in my idiom!! My problem is: I'm typing a script that sumons some mvp's ... and those monster have a Label!! at their Label, I'm trying to make the npc to annunciate: "Char's name has killed the MVP's name". But instead to annunciate a MvP's name, it's showing the mob's name. Example: For Baphomet the npc's announce is Like that: "James has killed Baphomet Jr." instead "James has killed Baphomet" My script: OnKILLMOB: $mob--; announce strcharinfo(0)+" has killed "+getmonsterinfo(killedrid,0),bc_yellow; I also has tried like this: OnKILLMOB: if ( getmonsterinfo(killedrid,MOB_MVPEXP) ){ announce strcharinfo(0)+" has killed "+getmonsterinfo(killedrid,0),bc_yellow;} But this way doesn't annunciate anything. And I tried to do instead at monster label (OnKILLMOB:), do this at event (OnNPCKillEvent:) but anyway that's works!! So I hope you can help me!! Once again, I'm sorry about my english!!