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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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