Jump to content


Photo

I don't understand these commands


  • Please log in to reply
3 replies to this topic

#1 Zvijer

Zvijer
  • Member
  • 27 posts

Posted 31 May 2003 - 02:12 PM

Chain, Chain2, Chain3 (how many chains are there?).

What does extern do? Is this just "go to a statenumber in another .dlg file"

#2 -jcompton-

-jcompton-
  • Guest

Posted 31 May 2003 - 02:44 PM

Chain, Chain2, Chain3 (how many chains are there?).

There are really only two. CHAIN and CHAIN3 are the exact same command. It is with CHAIN that you can have state triggers, an unlimited number of speakers, transition conditions, actions, transition lists at the end, etc.

CHAIN2 is old, legacy syntax. It only supports two speakers, does not support state triggers or a variety of other things CHAIN allows. Its use is discouraged these days although you'll still find it in some old mods.

What does extern do? Is this just "go to a statenumber in another .dlg file"


Yes. If you're staying in the same DLG, you use GOTO (or + , if you're using the abbreviated REPLY syntax.)

#3 weimer

weimer
  • Member
  • 1569 posts

Posted 31 May 2003 - 04:23 PM

Just this once, Jason failed to plug his own work, so I'll jump in and do it for him. Why don't you check out the lovely CHAIN tutorials in the WeiDU readme? :-) Hope you like pizza.

#4 -jcompton-

-jcompton-
  • Guest

Posted 31 May 2003 - 04:27 PM

I can't explain what came over me.