Chatting with non-joinable NPCs
#1
Posted 22 August 2003 - 08:06 AM
Say, for instance, the custom guy wants to have a little talk with Saemon Havarian as soon as they meet in the Docks to set sail to Brynnlaw. Can someone tell me how to do that?
#2 -Sim-
Posted 22 August 2003 - 08:16 AM
http://www.weidu.org...iDU.html#htoc11
#3
Posted 23 August 2003 - 05:42 AM
No offense, of course
#4
Posted 25 August 2003 - 01:25 AM
i.e. instead of EXTERN, put the INTERJECT or INTERJECT_COPY_TRANS command in the custom NPC's file to have, for instance, Yoshimo and Anomen warn good old <CHARNAME> to be careful?
#5
Posted 25 August 2003 - 01:29 AM
Well you could but I think it easier to have a CHAIN in the Custom PC's joining dialogue with ~IsValidForPartyDialog("Name")~ in it.Hmmm... could I even use INTERJECT to have other, non-custom party members comment on my custom NPC joining?
i.e. instead of EXTERN, put the INTERJECT or INTERJECT_COPY_TRANS command in the custom NPC's file to have, for instance, Yoshimo and Anomen warn good old <CHARNAME> to be careful?
e.g.
CHAIN GSQUEAK RandomRanting
~Will you take me in your party?~
== AERIEJ IF ~IsValidForPartyDialog("Aerie")~ THEN ~Look at him! He looks so cute with his cloak and his little scythe. Oh we have to take him with us! Can we <CHARNAME>, please?~
== VICONIJ IF ~IsValidForPartyDialog("Viconia")~ THEN ~There is something strangely attractvive about this creature...~
== GSQUEAK IF ~IsValidForPartyDialog("Viconia")~ THEN ~*Wink* I'm in there...~
END
++ ~Yeah why not. Lets take the bloody skeletal rodent...~ GOTO GrimSqueakerJoinsPartyEveryoneRejoicesViccyGivesHimAKiss
++ ~Piss off ratboy!~ GOTO CharnameLosesMember
#6
Posted 25 August 2003 - 01:59 AM
I've never seen the ++ thingies used in a chain before though... not in the README/tutorial anyway...
#7
Posted 25 August 2003 - 02:59 AM
I think you can also use + conditions + ~text~
for IF ~ conditions ~ THEN REPLY ~text~
< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"
#8
Posted 25 August 2003 - 03:49 AM
END
+Conditions+PCReply+Wherever to goto
Change the final + to EXTERN if you need to move to a different file. If there are no conditions, then ++.
#9
Posted 26 August 2003 - 07:28 AM