Help with npc of invasion

garro

New member
Messages
23
Points
0
Github
sran
Hello, download this npc and it works perfectly, but I would like the mobs to be called different I do not want all to be called invader as it is in the npc, that there are different normal mobs not with the name of invader example marin poporing poring etc .. . I hope you can help me, thanks, I leave a script. 

ratheinva.txt

 

Attachments

Last edited by a moderator:
You did not understand me haha, let's say I want two normal mobs to come out but with their name not Invader.
I have it configured so that it leaves a poring and a poporing but the two come out with the name of poring, what I would like is that the poporing would leave the name of it and not poring, that is if I put more that they leave With the name of each and not with Invasor

 
@meko: As to what I understood, he wants to name the mob as its default name

for example:

1002 = named as poring

1031 = named as poporing

because the script he provided named both mob as "poring".

@garro: try this

on line 22, find this:

monster .RandomMap$,0,0,"poring",.MobCount[.@i],.MobCount[.@i+1],strnpcinfo(0)+"::OnKilled";

replace it with:

monster .RandomMap$,0,0,strmobinfo(1, .MobCount[.@i]),.MobCount[.@i],.MobCount[.@i+1],strnpcinfo(0)+"::OnKilled";



on line 34, find this:

monster .RandomMap$,0,0,"INVASION BOSS",.BossCount[.@i],.BossCount[.@i+1],strnpcinfo(0)+"::OnBossKilled";

replace it with:

monster .RandomMap$,0,0,strmobinfo(1, .BossCount[.@i]),.BossCount[.@i],.BossCount[.@i+1],strnpcinfo(0)+"::OnBossKilled";



I hope this solves your problem.

 
Back
Top