getmonster display name

x13th

New member
Messages
78
Points
0
How can we get monster display name when triggered OnNPCKillEvent? Is there a way?

 
.@name$ = strmobinfo(1, killedrid);

 
.@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.

 
.@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

Code:
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.
 
.@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
default_smile.png


 
Back
Top