x13th 7 Posted November 18, 2016 How can we get monster display name when triggered OnNPCKillEvent? Is there a way? Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 18, 2016 .@name$ = strmobinfo(1, killedrid); Quote Share this post Link to post Share on other sites
0 x13th 7 Posted November 18, 2016 .@name$ = strmobinfo(1, killedrid); Hi @Dastgir, that's not what i'm looking. The mob is summoned through monster() script with Fake name. For example monster "new_1-1",50,106,"test",PORING,1; I want to get the name "test" of the poring killed. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 18, 2016 .@name$ = strmobinfo(1, killedrid);Hi @Dastgir, that's not what i'm looking. The mob is summoned through monster() script with Fake name.For example monster "new_1-1",50,106,"test",PORING,1; I want to get the name "test" of the poring killed. I don't think it's currently possible currently, what you could do is, explicitly mention the Label name in monster command, so you would know, that if that label is executed, the monster name is "test" or whatever you have set. Quote Share this post Link to post Share on other sites
0 x13th 7 Posted November 18, 2016 .@name$ = strmobinfo(1, killedrid);Hi @Dastgir, that's not what i'm looking. The mob is summoned through monster() script with Fake name.For example monster "new_1-1",50,106,"test",PORING,1; I want to get the name "test" of the poring killed. I don't think it's currently possible currently, what you could do is, explicitly mention the Label name in monster command, so you would know, that if that label is executed, the monster name is "test" or whatever you have set. Thank you for your suggestion but it's not possible in the script i'm doing. Thank you for your help Quote Share this post Link to post Share on other sites
How can we get monster display name when triggered OnNPCKillEvent? Is there a way?
Share this post
Link to post
Share on other sites