Domi Posted July 23, 2004 Share Posted July 23, 2004 if I use: IF ~~ ClassSpecific SAY ~Blah, blah,bla~ IF ~Class(Player1, THIEF_ALL)~ THEN GOTO AnswerforThief IF ~Class(Player1, FIGHTER_ALL)~ THEN GOTO AnswerforFighter ....every other class under the sun... END and Player1 is multy or dual-class, which class it will send the reply to? to the first mentioned? or will it confuse the system? Link to comment
Grim Squeaker Posted July 23, 2004 Share Posted July 23, 2004 I believe it reads them bottom up so it would do the Fighter one. Link to comment
Loriel Posted July 23, 2004 Share Posted July 23, 2004 Grim Squeaker is right. I wanted to know as well, so I loaded the dplayer scripts with this snippet: IF HotKey(L) THEN RESPONSE #100 SetDialog("jmtest") StartDialogNoSet(Myself) END and this was the contents of JMTEST.DLG: IF ~Global("JMTEST","LOCALS",0)~ THEN BEGIN 0 SAY ~This is a test~ IF ~Class(Myself,THIEF_ALL)~ THEN GOTO 1 IF ~Class(Myself,MAGE_ALL)~ THEN GOTO 2 END IF ~~ THEN BEGIN 1 SAY ~I'm a thief~ IF ~~ THEN EXIT END IF ~~ THEN BEGIN 2 SAY ~I'm a mage~ IF ~~ THEN EXIT END Then, I started a new game with a new Elven Mage/Thief. At first chance, I had Imoen talk to herself, and she told me she's a mage. When I talked to myself, I told myself the same thing. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.