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

Welcome Guest ( Log In | Register )

> Wikaede new dialogue problem, Some assistance would be appreciated
Moongaze
post Apr 5 2008, 06:30 PM
Post #1





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




I'm currently working on new content for Wikaede Revisited.
It adds a new character to the temple of Lathander, who can be talked to. She kind of brushes the party aside if Wikaede is not present. However, if Wikaede -is- present, she will react to him and eventually offer him a quest. She does not join the party.

Now here is where I'm stuck. I have a new dialogue file for the character called MGWIKHAR.d
Currently it looks like this:

CODE
BEGIN MGWIKHAR



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)~ THEN BEGIN MGMeetHarahWithWikaede
SAY ~Oh! Wikaede... It has been some time. It is good to see you again.~


== MGWIKAJ    (<---- Parse Error)


~Indeed it has been. I have missed you. Have you been well?~
== MGWIKHAR
~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...?
== MGWIKHAR
~A gnomish alchemist by the name of Bunyan requested a certain type of potion. We have managed to create it, and it needs to be delivered. 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. I will pass it to this alchemist when I see him.~
== MGWIKHAR
~Thank you very much, Wikaede. He 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?~
== MGWIKHAR
~Yes. And you as well. Until we meet again.~
IF ~~ THEN DO ~SetGlobal("MGWikaHarahQuestStart","GLOBAL",1)~
END


Obviously the MGWIKAJ interjection doesn't work. It gives a parse error at the bit I seperated. I'm puzzled as to how I can have Wikaede react to a new dialogue file in installed with the same mod, that only happens when he is in the party. I have tried looking at MGWIKAJ.d as a file...

CODE
INTERJECT_COPY_TRANS GAAL 4 MGWikaGaalBeholder
== MGWIKAJ IF ~InParty("Wikaede")~ THEN
~An eyeless beholder? I wonder how such an abomination could maintain it's great strength.~
== GAAL
~Be careful with your words, faithless one. The One God is far from an abomination. He is perfect.~
END


Interject Copy Trans requires a certain number (line number. In this case 4) to function...yet with a new dialogue file... egh, I don't know. Maybe it's not even meant to be an interjection, but it beats me. Any assistance on this would be appreciated.

This post has been edited by Moongaze: Apr 5 2008, 06:32 PM


--------------------
-Transition into darkness-
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Moongaze
post Apr 6 2008, 06:38 AM
Post #2





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




Right. Chain between MGWIKHAR and MGWIKAJ.
Thanks, it does help. A lot. happy.gif

QUOTE
You may also want to change the non-Wikaede NPC's dialogue to something seven letters long, but eight is OK in some cases - I can't remember whether this is one of them.


Oh? I thought eight was okay in any case.
I'll test it this way, see if it works. Shouldn't be too much work to change if it fails.


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

Posts in this topic


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



- Lo-Fi Version Time is now: 29th August 2025 - 08:36 PM