Boom Posted March 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Share Posted March 26, 2013 Hi! I hope someone would help me in making an @command that triggers an NPC, for example, I will be making a command @bank, and then the Banker NPC will be triggered (the NPCs window will pop-up just like talking to it directly) Quote Link to comment Share on other sites More sharing options...
PewN Posted March 26, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted March 26, 2013 Bindatcmd Quote Link to comment Share on other sites More sharing options...
Boom Posted March 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Author Share Posted March 26, 2013 Bindatcmd Thanks for the reply! I tried it on the command @heal and it actually works. My problem though is concerned with the source, adding a new @command which may or may not be with relation to the bindatcmd. For what I've observed, the bindatcmd is used for exisiting @commands already. But if I were to add a new @command that I can connect to the bindatcmd, how will I be able to do that? Thank you! Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 26, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 26, 2013 bindatcmd is not used only for existing commands....it allow you to add a "new" @commands using npc script...that bind to certain npc label and execute the label if it's used. Quote Link to comment Share on other sites More sharing options...
Boom Posted March 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Author Share Posted March 26, 2013 bindatcmd is not used only for existing commands....it allow you to add a "new" @commands using npc script...that bind to certain npc label and execute the label if it's used. Thank you Emistry! bindatcmd is really an easy way for adding a new command via script, but is there any another way to call an NPC by making a new command on the atcommand.c source so it'll really be part of the server files? Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 26, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 26, 2013 you can refer this. http://www.eathena.ws/board/index.php?s=&showtopic=229401&view=findpost&p=1250314 Quote Link to comment Share on other sites More sharing options...
Question
Boom
Hi! I hope someone would help me in making an @command that triggers an NPC, for example, I will be making a command @bank, and then the Banker NPC will be triggered (the NPCs window will pop-up just like talking to it directly)
Link to comment
Share on other sites
5 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.