Jump to content
  • 0
Sign in to follow this  
garro

Help with npc of invasion

Question

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

Edited by garro

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.