Jump to content
  • 0

bind @ command to call NPC


Question

Posted

I want to call an NPC using bindatcommand function. Example NPC 1. when i type @npc1, i can access the NPC1 (Stylist) 

 

you can access the NPC Anywhere in the server by a command. But the same time, the NPC also exist in server.

 

3 answers to this question

Recommended Posts

  • 0
Posted
6 hours ago, crazyarashi said:

-	script	npc_example	-1,{
OnCommand: //Add event on the start of your npc
	mes "I'm the Example.";
end;

OnInit:
	bindatcmd "npc1",strnpcinfo(3) + "::OnCommand";
end;
}

 

thx ,  but example i need  is  i want to call my stylist npc  when @style   

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...