Hi, I'm having some problems with my dialog file for an NPC i'm creating. WeiDU came up with a number of errors first time I tried to install and I've sorted most of em. This one is causing me problems though.
[C:\Program Files\Black Isle\BGII - SoA\Natasha NPC Setup.exe] WeiDU version 192
[C:\Program Files\Black Isle\BGII - SoA\Natasha NPC Setup.exe] Using scripting s
tyle "BG"
Install Component [Natasha NPC]?
[I]nstall, or [N]ot Install or [Q]uit? i
Installing [Natasha NPC]
Copying and patching 1 file ...
Compiling 1 dialogue file ...
[Natasha NPC\ev#Nata.d] PARSE ERROR at line 97 column 14-17
Near Text: EXIT
syntax error
[Natasha NPC\ev#Nata.d] ERROR at line 97 column 14-17
Near Text: EXIT
Parsing.Parse_error
ERROR: parsing [Natasha NPC\ev#Nata.d]: Parsing.Parse_error
ERROR: compiling [Natasha NPC\ev#Nata.d]!
Stopping installation because of error.
ERROR Installing [Natasha NPC], rolling back to previous state
Will uninstall 1 files for [NATASHA NPC SETUP.TP2] component 0.
Uninstalled 1 files for [NATASHA NPC SETUP.TP2] component 0.
ERROR: Parsing.Parse_error
PLEASE email the file NATASHA NPC SETUP.DEBUG to polyphonicmilton@hotmail.com
Install Component [Natasha NPC]?
[I]nstall, or [N]ot Install or [Q]uit?
Below is the section in question:
IF ~~ THEN BEGIN Join
SAY ~I guess thats fair enough. I'll join your group and lend my strength to you. Just remember, I don't kill for pleasure.~
++ ~That's fine by me, welcome aboard!~ + ~SetGlobal("NataJoined","LOCALS",1)
JoinParty()~ EXIT {<-- line 97}
END
Can someone tell me whats wrong with the syntax? I've tried various things and they haven't worked.
Thanks in advance.