Jump to content
  • 0
minx123

NPC Punching Beg auto respawn when die

Question

i have problem to make its auto respawn when  player kill it..

 

here the script..

 

-	script	Punching Bag	-1,{OnInit:OnDummyKill:     monster "invek",143,148,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";     end;}-	script	Punching Bag 2	-1,{OnInit:OnDummyKill:     monster "invek",153,140,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";     end;}-	script	Punching Bag 3	-1,{OnInit:OnDummyKill:     monster "invek",161,169,"Punching Bag",1905,1,"Punching Bag::OnDummyKill";     end;}

 

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

-	script	Punching Bag	-1,{OnInit:monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill";monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2";monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3";end;OnDummyKill:     monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill";     end;OnDummyKill2:     monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2";     end;OnDummyKill3:     monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3";     end;}

You were using wrong npc name, since npc name was having 2/3 at end, but better merge them all into one npc, like shown above.

Share this post


Link to post
Share on other sites
  • 0

 

-	script	Punching Bag	-1,{OnInit:monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill";monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2";monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3";end;OnDummyKill:     monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill";     end;OnDummyKill2:     monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2";     end;OnDummyKill3:     monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3";     end;}

You were using wrong npc name, since npc name was having 2/3 at end, but better merge them all into one npc, like shown above.

oh.. like that..

thank you..

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

×
×
  • Create New...

Important Information

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