Jump to content
  • 0
ragexe

OnTouch NPC unittalk

Question

prontera,150,166,4	script	Test	777,5,5,{

npctalk "Hey you"+getcharid(3);
sleep 5000;
unittalk getcharid(3), "Hey";
sleep 10000;


end;
}

i got error in map server got 
[Error]buildin_getcharid: fatal error ! player not attached!
[Debug]: Function: getcharid(1 parameter);
[Debug]: Data: number value=3
[Debug]: Source (NPC): Test at prontera (150,166)
someone can help me to fix this?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1
40 minutes ago, ragexe said:
prontera,150,166,4	script	Test	777,5,5,{

npctalk "Hey you"+getcharid(3);
sleep 5000;
unittalk getcharid(3), "Hey";
sleep 10000;


end;
}

i got error in map server got 
[Error]buildin_getcharid: fatal error ! player not attached!
[Debug]: Function: getcharid(1 parameter);
[Debug]: Data: number value=3
[Debug]: Source (NPC): Test at prontera (150,166)
someone can help me to fix this?

prontera,150,166,4	script	Test	777,5,5,{
	end;
OnTouch:
	npctalk "Hey you "+strcharinfo(0);
	sleep2 5000;
	unittalk getcharid(3), "Hey";
	sleep2 10000;
	end;
}

 

Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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