![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]()
Post
#1
|
|
Forum Member Posts: 467 Joined: 23-February 05 From: My den ![]() |
Greets,
I've been modding and I ran into two problems. The first has to do with the kickout dialogue file (P file). The kicking out works fine in SoA, but in its ToB file (which I adapted), the character gets kicked out, yet doesn't give a reaction + options (such as Minsc: "Boo needs to know. Did you want us to remain with the group?" - choose yes and he joins again, choose no and he leaves). The character is kicked out, doesn't initiate dialogue and when I click on the character, the dreaded "has nothing to say" appears, probably because the kicked-out GLOBALs weren't set. I've been looking through the code, but I've not found anything out of the ordinary myself. Perhaps one of you will see what I have not. And no, these are not the real dialogues. The mod installed fine and without errors, as well. CODE BEGIN MGBGA25P IF ~Global("MGBGAJoined","LOCALS",1)~ THEN BEGIN MGBGAKickToB SAY ~(Leave him behind?)~ ++ ~(NO!)~ DO ~JoinParty()~ EXIT ++ ~(Leave him behind.)~ GOTO MGBGAKick2ToB END IF ~~ THEN BEGIN MGBGAKick2ToB SAY ~(He leaves you and stays here.)~ IF ~~ THEN DO ~SetGlobal("MGBGAJoined","LOCALS",0) SetGlobal("MGBGAKickedOut","LOCALS",1)~ EXIT END IF ~Global("MGBGAJoined","LOCALS",0) Global("MGBGAKickedOut","LOCALS",1)~ THEN BEGIN MGBGARejoinToB SAY ~(Team up?)~ ++ ~(Yes, team up.)~ GOTO MGBGARejoin2ToB ++ ~(Leave him be.)~ GOTO MGBGARejoinNotToB END IF ~~ THEN BEGIN MGBGARejoin2ToB SAY ~(He rejoins.)~ IF ~~ THEN DO ~SetGlobal("MGBGAJoined","LOCALS",1) JoinParty()~ EXIT END IF ~~ THEN BEGIN MGBGARejoinNotToB SAY ~(He stays.)~ IF ~~ THEN EXIT END Secondly, I seem to be puzzled as to how the developers and modmakers alike can have their character initiate conversation with the PC directly after being summoned to the pocket plane by the Fate Spirit. I can summon my characters easily, yet they will stand there until I click on them and initiate conversation myself. How can I make it fire automatically after being summoned? Here is what I have in Wikaede Revisited v4.1, which has this problem (and thus, every mod based on it as well): MGWIKA25.baf CODE IF Global("MGWikaedeSummoned","GLOBAL",1) THEN RESPONSE #100 StartDialogueNoSet([PC]) Wait(1) END MGWIKA25J (at the bottom of the file, below Volo interjection) CODE EXTEND_TOP FATESP 6 #9 IF ~!Dead("Wikaede") !InMyArea("Wikaede") Global("MGWikaedeSummoned","GLOBAL",0)~ THEN REPLY ~Bring me Wikaede, Priest of Helm.~ DO ~CreateVisualEffect("SPPORTAL",[1999.1218]) Wait(2) CreateCreature("MGWIKA25",[1999.1218],0) SetGlobal("MGWikaedeSummoned","GLOBAL",1)~ GOTO 8 END CODE BEGIN MGWIK25
IF ~NumTimesTalkedTo(0) Global("MGWikaedeSummoned","GLOBAL",1)~ THEN BEGIN MGWikaSummonPP SAY ~What? It seems I have been summoned to a plane of sorts. What is the reason for your summoning, <CHARNAME>?~ ++ ~It's a long story, Wikaede. Regardless, I need your help. ~ GOTO MGWikaSummonPP2 END IF ~~ THEN BEGIN MGWikaSummonPP2 SAY ~I see. If you require my assistance, you shall have it.~ ++ ~Thank you.~ GOTO MGWikaJoinPP ++ ~Could you wait over there, please?~ GOTO MGWikaLeavePP END IF ~~ THEN BEGIN MGWikaJoinPP SAY ~It is my duty and my pleasure.~ IF ~~ THEN DO ~SetGlobal("MGWikaedeJoined","LOCALS",1)JoinParty()~ EXIT END IF ~~ THEN BEGIN MGWikaLeavePP SAY ~It shall be as you say.~ IF ~~ THEN DO ~SetGlobal("MGWikaedeLeavePP","GLOBAL",1)~ EXIT END IF ~Global("MGWikaedeLeavePP","GLOBAL",1)~ THEN BEGIN MGWikaPP SAY ~Am I to travel with you, or is there some other reason for your presence here, <CHARNAME>?~ ++ ~There's nothing, Wikaede. I was just checking on you.~ GOTO MGWikaLeavePP2 ++ ~Yes, please travel with me.~ GOTO MGWikaJoinPP2 END IF ~~ THEN BEGIN MGWikaJoinPP2 SAY ~Then I will come along.~ IF ~~ THEN DO ~SetGlobal("MGWikaedeJoined","LOCALS",1)JoinParty()~ EXIT END IF ~~ THEN BEGIN MGWikaLeavePP2 SAY ~Ahh. I am doing well. Thank you for your concern. Do not hestitate to ask for my assistance, should you need it.~ IF ~~ THEN EXIT END This post has been edited by Moongaze: Jul 14 2008, 01:09 PM -------------------- -Transition into darkness-
|
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 29th August 2025 - 04:16 AM |