![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]()
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. ![]() This post has been edited by Moongaze: May 24 2008, 02:02 PM -------------------- -Transition into darkness-
|
|
|
![]() |
![]()
Post
#2
|
|
Forum Member Posts: 165 Joined: 29-January 05 From: Modena (Italy) ![]() |
CHAIN cannot accept the BEGIN (it's not optional like in states, it's actually forbidden) - in place of the BEGIN, you need the dialogue file for the inital speaker. Also, the SAY in the next line is forbidden too. Also, the states (non-chain statements in your file) go before all CHAINs, and CHAINs go outside of APPEND. APPEND (which you don't currently need) requires an END. There was also a typo (MMGWikaAcceptPotionQuest2 with the double initial M).
This appears to work: 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 IF ~InParty("Wikaede") See("Wikaede") !StateCheck("Wikaede",STATE_SLEEPING) Global("MGWikaHarahQuestStart","GLOBAL",0) Global("MGWikaHarahRefuseQuest","GLOBAL",1)~ THEN BEGIN MGWikaPotionQuestRefuse SAY ~You have returned. Are you ready to retrieve the item for us now?~ ++ ~Yes, we will get it for you.~ GOTO MGWikaAcceptPotionQuest2 ++ ~We don't have the time for this right no, Dawnmistress.~ GOTO MGWikaRefusePotionQuest2 END IF ~~ THEN BEGIN MGWikaRefusePotionQuest2 SAY ~Very well. Return with Wikaede once you desire to perform this task for us.~ IF ~~ THEN EXIT END IF ~InParty("Wikaede") See("Wikaede") !StateCheck("Wikaede",STATE_SLEEPING) Global("MGWikaHarahQuestStart","GLOBAL",1)~ THEN BEGIN MGWikaPotionQuestWithoutPotion SAY ~You are back, though I see you do not have the item just yet. Please return once it is in your possession.~ IF ~~ THEN EXIT END CHAIN IF ~InParty("Wikaede") See("Wikaede") !StateCheck("Wikaede",STATE_SLEEPING) Global("MGWikaHarahQuestStart","GLOBAL",0)~ THEN MGWIKHR MGMeetHarahWithWikaede ~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?~ END ++ ~It shouldn't be a problem, Wikaede. We will get it for you.~ EXTERN MGWIKHR MGWikaAcceptPotionQuest ++ ~We don't have the time for this right now.~ EXTERN MGWIKHR MGWikaRefusePotionQuest CHAIN IF ~~ THEN MGWIKHR MGWikaAcceptPotionQuest2 ~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.~ END IF ~~ THEN DO ~SetGlobal("MGWikaHarahQuestStart","GLOBAL",1)~ EXIT CHAIN IF ~~ THEN MGWIKHR MGWikaAcceptPotionQuest ~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.~ END IF ~~ THEN DO ~SetGlobal("MGWikaHarahQuestStart","GLOBAL",1)~ EXIT CHAIN IF ~~ THEN MGWIKHR MGWikaRefusePotionQuest ~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.~ END IF ~~ THEN DO ~SetGlobal("MGWikaHarahRefuseQuest","GLOBAL",1)~ EXIT This post has been edited by The Bigg: May 28 2008, 08:23 AM -------------------- Please do not contact me for assistance in using BGT, BP, any other of the 'large mods', or a mod I didn't write or contribute to. I'm not your paid support staff, so I'd suggest you to direct your help questions to the forum relative to the mod you're playing.
Thanks for your cooperation. |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 29th August 2025 - 07:26 AM |