limalama Posted April 29, 2012 Share Posted April 29, 2012 Sorry if somehow has asked this before, but I can't seem to find it on the forums. I am completely new to modding and wanted to try it but can't get banters to work because the rejoin dlg just keeps firing instead! Have followed a lot of tutorials and can't seem to find out what I have done wrong! I have the below as the join/kick out/rejoin and it all works fine apart from the rejoin dlg triggering instead of a banter between my NPC and Yoshimo which is below. BEGIN L#Leokul IF ~NumTimesTalkedTo(0)~ THEN BEGIN FirstMeeting SAY ~Why hello there, aren't you a sight for soar eyes!~ IF ~~ THEN REPLY ~Do I know you?~ GOTO Ohno IF ~~ THEN REPLY ~Oh, Go away I have no time for this!~ GOTO GoAway END IF ~~ THEN BEGIN Ohno SAY ~Oh no, you wouldn't know little old me. But I know of you, the saviour of The Sword Coast and all. By chance would you need an extra sword arm or some magic to help you along your way? I am skilled in both.~ IF ~~ THEN REPLY ~What's the catch?~ GOTO Nocatch IF ~~ THEN REPLY ~No, by the looks of you I don't trust you, now begone!~ GOTO GoAway END IF ~~ THEN BEGIN Nocatch SAY ~ Oh no, there's no catch. I just want a bit of fun and adventure, and I feel your the person to give me that. So care to partner up?~ IF ~~ THEN REPLY ~Sure, I could use the help but I am watching you!~ DO ~SetGlobal("L#LeokulJoined","LOCALS",1) JoinParty()~ EXIT IF ~~ THEN REPLY ~No, I don't believe you still. Goodbye.~ GOTO GoAway END IF ~~ THEN BEGIN GoAway SAY ~(sigh) You don't know what your missing out on!~ IF ~~ THEN EXIT END IF ~NumTimesTalkedToGT(0)~ THEN BEGIN ReturnDialogue SAY ~Oh, So your back?~ IF ~~ THEN REPLY ~Yes, you seem to be appealing. Join with me.~ DO ~SetGlobal("L#LeokulJoined","LOCALS",1) JoinParty()~ EXIT IF ~~ THEN REPLY ~Yeah just to laugh at you. Haha!~ GOTO RefusedAgain END IF ~~ THEN BEGIN RefusedAgain SAY ~Oh, aren't we the funny one!~ IF ~~ THEN EXIT END BEGIN L#LeokulP IF ~Global("L#LeokulJoined","LOCALS",1)~ THEN BEGIN KickOut SAY ~Oh, so the adventure ends?~ IF ~~ THEN REPLY ~No Sorry , my mistake I still have need of you~ DO ~JoinParty()~ EXIT IF ~~ THEN REPLY ~Yes, I am fed up on you and your remarks!~ DO ~SetGlobal("L#LeokulJoined","LOCALS",0)~ EXIT END IF ~Global("L#LeokulJoined","LOCALS",0)~ THEN BEGIN Rejoin SAY ~So, you want me back?~ IF ~~ THEN REPLY ~Yes, I have missed your company oddly enough.~ DO ~SetGlobal("L#LeokulJoined","LOCALS",1) JoinParty()~ EXIT IF ~~ THEN REPLY ~No, I just wanted to tease you a little.~ EXIT END Then below is the banter I have done between my NPC and Yoshimo BEGIN L#LeokulB CHAIN IF ~InParty("L#Leokul") InParty("Yoshimo") See ("L#Leokul") See ("Yoshimo") !StateCheck("L#Leokul",CD_STATE_NOTVALID) !StateCheck("Yoshimo",CD_STATE_NOTVALID) Global("L#MyYoshimoGlobal","GLOBAL",0)~ THEN L#LeokulB LeokulYoshimo1 ~So, you are the infamous Yoshimo then?~ DO ~SetGlobal("L#MyYoshimoGlobal","GLOBAL",1)~ == BYOSHIM ~Ah! So you have heard of me?~ == L#Leokul ~Yes, I have heard from our leader how they found you in a dungeon trapped.~ == BYOSHIM ~I was not trapped, merely waiting for the right time to strike.~ == L#Leokul ~I see.. (snort) Just as I thought.~ EXIT Any help would be grateful coz I am pulling my hair out lol Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.