Jump to content
  • 0
Sign in to follow this  
iskoy.flores

Permanent NPC Companion

Question

I'm currently using this script: http://herc.ws/b...dicated-npc-v3/

 

The above script functions by hiring the npc and making it your personal healer + buffer slave. Essentially it follows you around. When you die and respawn it still sticks with you and continues on following. However, when you logout or get disconnected the NPC returns to its original position where you need to re-hire it again.

 

Is there a way to make it wait for you? And still follow after you get disconnected? Like some sort of pet?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Thanks for the tip; however, I can't seem to understand how I can make use of that....

Inside the script there's this line:

 

OnPCLogoutEvent:	if(@ddnpc_id)		Endd(@ddnpc_id-1);	end;	function	Endd	{		.@id = getarg(0);		.npc_status[.@id] = 0;		.npc_time[.@id] = 0;		unitwarp .npc_gid[.@id],.npc_om$[.@id],.npc_ox[.@id],.npc_oy[.@id];		return;	}}

Do you have any tips on how to edit this?

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.