sprite0 Posted September 26, 2014 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
Dade Posted September 26, 2014 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
Oceanid Posted September 26, 2014 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
Emistry Posted September 26, 2014 Posted September 26, 2014 - script atcmd_example -1,{ OnInit: bindatcmd "callnpc",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: specialeffect2 338; mes "Message shown"; close; } Quote
sprite0 Posted September 26, 2014 Author 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
Question
sprite0
Hi, all,
I'd like to request a command (map/atcomand.c) that calls out an NPC.
Example:
Thanks in advance.
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.