Jump to content


Photo

Very minor Weidu Question


  • Please log in to reply
2 replies to this topic

#1 Teno20

Teno20

    Many-as-One

  • Member
  • 40 posts

Posted 16 October 2002 - 10:41 AM

I was wondering if there's any way to return to the original speaker in a banter from an append. The append dialog is below, followed by the target block. If it's answered elsewhere, I apologise in advance. If you need the whole .d file, I'll post that.

APPEND BIMOEN2
IF ~~ THEN BEGIN EatPizza
SAY ~Did you?~
IF ~!Global("TookPizza","GLOBAL",1)
!Global("TookPizza","GLOBAL",2)~ THEN REPLY ~No, not a crumb.~ GOTO NoCrumb
IF ~Global("TookPizza","GLOBAL",1)~ THEN REPLY ~Only one of them.~ GOTO OnePizza
IF ~Global("TookPizza","GLOBAL",2)
Gender(Player1,MALE)~ THEN REPLY ~Err... Yup.~ GOTO GreedyBa
IF ~Global("TookPizza","GLOBAL",2)
Gender(Player1,FEMALE)~ THEN REPLY ~Err... Yup.~ GOTO GreedyBi
END

IF ~~ THEN BEGIN NoCrumb
SAY ~Fine.~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN OnePizza
SAY ~Well, you aren't having any of this one.~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN GreedyBa
SAY ~You greedy bastard. No way are you having any of this pizza, you've had too much already!~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN GreedyBi
SAY ~You greedy bitch. No way are you having any of this pizza, you've had too much already!~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN TekPizza
SAY ~Still, I'll have the pizza. Thanks for the Gold, , heh heh heh.~
IF ~~ THEN DO ~TakePartyGold(20)~ GOTO Finp
END
END

IF ~~ THEN BEGIN Finp
SAY ~Well, thank you. See you round, well, maybe not, but you never know.~
IF ~~ THEN DO ~EscapeArea()
IncrementGlobal("WhackASkunk","GLOBAL",1)~ EXIT
END
Posted Image

#2 -jcompton-

-jcompton-
  • Guest

Posted 16 October 2002 - 12:22 PM

I'm not quite sure what you mean. The EXTERN command (rather than GOTO) is how you branch from one DLG file to another. So if Imoen was discussing this pizza problem with Aerie, it would be

EXTERN BAERIE Finp

#3 weimer

weimer
  • Member
  • 1569 posts

Posted 16 October 2002 - 03:40 PM

I'm not quite sure what you mean either, but you may be looking for APPENDI, which counts as a "state" and thus allows you to continue listing states in the first file after you're done with it.