Now, I'm not very into BG-modaring, but all the bundled romances have the XRomanceActive global variable that's spanning over 1-3, where 1 is "get to know you", 2 is "hot lurve" and 3 is "romance over".
(I'll use pseudo code here, since I dont know the script syntax)
Imoen says "You're really dull.";
IF (getGlobal('XRomanceActive') is '1') then X should say "<charname> doesn't think so...";
IF (getGlobal('XRomanceActive') is '2') then X should say "<charname>? Your sister seems to have something against me.";
IF (getGlobal('XRomanceActive') is '3') then X should say "So I've realized... What should I do to remedy that?" or maybe "Insinuate anything of the sort again and I will hang you using your reckless tongue!".
So the first time you take the NPC into the group, XRomanceActive should be set to 1 (unless any eventual romance restrictions aren't met). At some point in the romance, set it to 2. If charname tells the NPC off during a romance dialogue, set it to 3.
You can initiate all kinds of GLOBALs, if maybe your NPC insulted Aran Linvail during quests in chapter 3, set a variable AranPissed to 1, and you could edit arans dialogue for chapter 6 to deny you help with bodhi if aranpissed is 1.
Edit: To prevent misunderstandings, the pseudo code isn't actual script/dialogue. It is just some form of explanation of the sequence of events. Hopefully you'll be able to reinterpret it to real script/dialogue.
Jurgenaut
Member Since 08 Feb 2004Offline Last Active Mar 29 2004 12:39 AM