View Single Post
  #1  
Old 05-24-2011, 09:39 PM
Robregen
Developer
 
Join Date: May 2011
Posts: 109
Default 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!"
Reply With Quote