NPC / Mob Variable
Is there a variable that would returns the name of the npc that triggered the Event?
Like for example. If one of the guard attack a newbie mob (a large rat). Guard would say "Time to die a large rat!".
So far I haven't been able to find the right variable to script it. I thought maybe $mname would do it but instead it returns the name of the npc instead of the mob that triggered it. Something like "Time to die Guard_Soyler0001!" instead of the actual "Time to die a large rat!"
|