Ok this chain2 seems to loop, only I can't see why it would Is the syntax correct? Am I missing something?
APPEND BKRON
IF ~InParty("Nalia")
See("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
CombatCounter(0)
Global("KR_KNaliaI","LOCALS",0)~ THEN BEGIN KRONDORNALIA0
SAY @235
IF ~~ THEN DO ~SetGlobal("KR_KNaliaI","LOCALS",1)~
EXTERN BNALIA KrondorNaliaA
END
CHAIN2 BNALIA KrondorNaliaA
@236
==
@237
==
@238
==
@239
==
@240
END BKRON KRONDORNALIA0
IF ~~ THEN BEGIN KRONDORNaliaend
SAY @241
IF ~~ THEN EXIT
END
END
Kron
Chain 2
Started by
-Arch_Angel-
, Jul 27 2002 05:59 AM
2 replies to this topic
#1 -Arch_Angel-
Posted 27 July 2002 - 05:59 AM
#2 -jcompton-
Posted 27 July 2002 - 07:44 AM
Ok this chain2 seems to loop, only I can't see why it would Is the syntax correct?
It's looping because you told it to.
@240
END BKRON KRONDORNALIA0
IF ~~ THEN BEGIN KRONDORNaliaend
You told it "At the end of the chain, go to BKRON state KRONDORNALIA0", which is the start of the discussion.
You want
END BKRON KRONDORNaliaend
#3 -Arch_Angel-
Posted 27 July 2002 - 04:25 PM
Oh well that was obvious LOL, don't know how I missed it
Cheers
JC
Cheers
JC