Sergardo Posted January 22, 2021 Group: Members Topic Count: 64 Topics Per Day: 0.02 Content Count: 148 Reputation: 0 Joined: 03/06/15 Last Seen: June 2, 2023 Share Posted January 22, 2021 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. Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted January 22, 2021 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Thursday at 07:07 AM Share Posted January 22, 2021 - 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; } Quote Link to comment Share on other sites More sharing options...
0 Sergardo Posted January 22, 2021 Group: Members Topic Count: 64 Topics Per Day: 0.02 Content Count: 148 Reputation: 0 Joined: 03/06/15 Last Seen: June 2, 2023 Author Share Posted January 22, 2021 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 Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted January 22, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: May 14 Share Posted January 22, 2021 you should atleast throw your stylist script on a code box. Quote Link to comment Share on other sites More sharing options...
Question
Sergardo
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.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.