The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Request help with dialogue coding
Moongaze
post May 24 2008, 02:00 PM
Post #1





Forum Member
Posts: 467
Joined: 23-February 05
From: My den




I'm still busy trying to get Wikaede's quest to work. However, I'm not having much luck getting the dialogues to install properly. Currently, this is the part where it hiccups, as indicated by <------------


CODE
BEGIN MGWIKHR



IF ~!InParty("Wikaede")~ THEN BEGIN MGMeetHarahWithoutWikaede
SAY ~Kind <PRO_SIRLADY>, please excuse me. I am very busy with my chores. If you have any questions, you may ask one of the others.~
IF ~~ THEN EXIT
END


CHAIN IF ~InParty("Wikaede")
See("Wikaede")
!StateCheck("Wikaede",STATE_SLEEPING)
Global("MGWikaHarahQuestStart","GLOBAL",0)~ THEN BEGIN MGMeetHarahWithWikaede  <------------

// ACCORDING TO WEIDU, THE ERROR IS SOMEWHERE AROUND HERE. I DO NOT SEE IT.


SAY ~Wikaede... It has been some time. It is good to see you again.~
== MGWIKAJ
~Indeed it has been. I have missed you. Have you been well?~
== MGWIKHR
~Yes, everything has been fine. No need to worry. However, I do have a small task that needs to be completed, which I currently cannot do, due to my schedule.~
== MGWIKAJ
~Which would be...?~
== MGWIKHR
~A gnomish alchemist by the name of Bunyan had been commissioned to create a certain type of potion. We have received word that it is ready, and it needs to be delivered to us. Would you be interested in taking on such a task?~
== MGWIKAJ
~Of course. It is but a small task and shall not harm our greater plans. However, I fear it is not my choice alone. <CHARNAME>, what do you think?~
++ ~It shouldn't be a problem, Wikaede. We will get it for you.~ GOTO MGWikaAcceptPotionQuest
++ ~We don't have the time for this right now.~ GOTO MGWikaRefusePotionQuest
END

CHAIN IF ~~ THEN BEGIN MGWikaAcceptPotionQuest
SAY ~Thank you very much. Bunyan can usually be found beside his stand at Waukeen's Promenade.~
== MGWIKAJ
~I understand. In that case, I shall be off. Do take care, would you?~
== MGWIKHR
~Yes. And you as well. Until we meet again.~
IF ~~ THEN DO ~SetGlobal("MGWikaHarahQuestStart","GLOBAL",1)~
EXIT
END

CHAIN IF ~~ THEN BEGIN MGWikaRefusePotionQuest
SAY ~It is fine. There is no rush to perform such a task.~
== MGWIKAJ
~Still, it is a pity. Since we cannot be of further assistance here at this time, I shall depart. Do take care, would you?~
== MGWIKHR
~Yes. And you as well. Until we meet again.~
  IF ~~ THEN DO ~SetGlobal("MGWikaHarahRefuseQuest","GLOBAL",1)~
EXIT
END


I have already started using CHAIN IF as a result of my earlier query on how to get a new in-party NPC to converse with a new out-party NPC, allowing Wikaede to interject into the player's conversation with Harah (MGWIKHR). I have no idea as to why it hiccups and refuses to install.

I also do not know if it's allowed to have the PC provide his/her decision on accepting or refusing the quest in this manner.
I assume the dialogue right AFTER the PC makes his/her decision, the dialogue would come from MGWIKHR rather than Wikaede, yet again I am not certain.

Some assistance would be appreciated. happy.gif

This post has been edited by Moongaze: May 24 2008, 02:02 PM


--------------------
-Transition into darkness-
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 04:20 AM