sprite0 Posted September 26, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 08/01/12 Last Seen: October 16, 2014 Share Posted September 26, 2014 Hi, all, I'd like to request a command (map/atcomand.c) that calls out an NPC. Example: A player types in @callnpc. An NPC dialogue shows up on his/her screen. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Dade Posted September 26, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 1 Joined: 09/25/14 Last Seen: September 30, 2014 Share Posted September 26, 2014 As far as I know, you also have to declare what specific event you're calling from the "called npc", because you can't just execute an NPC like that, you could break some functions going on. I'd suggest that if you want to make a callnpc, you really specify which one, or which ones, and where exactly do you want to call them. You should probably elaborate more on your request. Quote Link to comment Share on other sites More sharing options...
Oceanid Posted September 26, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 80 Reputation: 2 Joined: 10/08/13 Last Seen: March 5, 2020 Share Posted September 26, 2014 We can make an npc that players can whisper to instead of it being on the map. But like Dade said we would need to know specifically what functions you want the npc to have Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 26, 2014 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 September 26, 2014 - script atcmd_example -1,{ OnInit: bindatcmd "callnpc",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: specialeffect2 338; mes "Message shown"; close; } Quote Link to comment Share on other sites More sharing options...
sprite0 Posted September 26, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 08/01/12 Last Seen: October 16, 2014 Author Share Posted September 26, 2014 (edited) @edit: Please delete this topic. I'm so sorry about that, but I thought rAthena was compatible with a translated version that I use. Edited September 26, 2014 by sprite0 Quote Link to comment Share on other sites More sharing options...
Question
sprite0
Hi, all,
I'd like to request a command (map/atcomand.c) that calls out an NPC.
Example:
Thanks in advance.
Link to comment
Share on other sites
4 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.