xin Posted October 30, 2012 Posted October 30, 2012 well what I wan't here is to have an npc that targets another npc. sample prontera NPC: input message; // just some random message then after that the NPC in izlude will be enabled and show the message that was put in prontera NPC. thanks in advance Quote
goddameit Posted October 30, 2012 Posted October 30, 2012 (edited) use $@ , $ or . type to storage your message and after typed messages, do enablenpc + ( donpcevent + label(if you won't use announce)) or use ( getnpcid + unittalk ) or ( initnpctimer <name> + OnTimer ) [What I think : NPC will appear and talk something] Edited October 30, 2012 by goddameit Quote
Bin4ry Posted October 30, 2012 Posted October 30, 2012 (edited) 150,150,1 script ABC 53,{ input .ABC$; dispbottom "Activated."; donpcevent "DEF::OnEnable"; end; } 152,152,1 script DEF 53;{ getvariableofnpc(.ABC$,"ABC"); mes .ABC$; mes "From ABC."; close; OnEnable: hideoffnpc; end; OnInit: hideonnpc; end; } Something like this? Edited October 30, 2012 by darristan 1 Quote
xin Posted October 31, 2012 Author Posted October 31, 2012 (edited) awesome thanks a lot and is it possible to make the npc unclickable/unavailable when someone is talking to it? Edited October 31, 2012 by xin Quote
Question
xin
well what I wan't here is to have an npc that targets another npc.
sample
prontera NPC: input message; // just some random message
then after that the NPC in izlude will be enabled and show the message that was put in prontera NPC.
thanks in advance
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.