IF InParty(Myself) Global("%NPC1_ROMVAR%,""GLOBAL",%NPC1_SERIOUSNUM%) !Global("%NPC2_ROMVAR%","GLOBAL",0) !Global("%NPC2_ROMVAR%","GLOBAL",%NPC2_KILLNUM%) THEN RESPONSE #100 SetGlobal("%NPC2_ROMVAR%","GLOBAL",%NPC2_KILLNUM%) END
Which would look something like this for two NPCs, Jelina and Serena:
IF InParty(Myself) Global("G#J.JelinaRomanceActive","GLOBAL",2) !Global("G#S.SerenaRomanceActive","GLOBAL",0) !Global("G#S.SerenaRomanceActive","GLOBAL",3) THEN RESPONSE #100 SetGlobal("G#S.SerenaRomanceActive","GLOBAL",3) END
To make this work I'm going to need a couple of things from all of you who want to participate:
Romance is serious number:
Romance kill number:
Can kill other romances?:
Can be killed by other romances?:
SoA Script: G#JELINA
ToB Script: G#JLNA25
Romance is serious number: 2
Romance kill number: 3
For female?: 0
For male?: 1
Can kill other romances?: 1
Can be killed by other romances?: 1
Romance Variable: G#J.JelinaRomanceActive
NB: SoA Checkfile and ToB Checkfile are for if the romance adds to an already existing NPC (e.g. Imoen Romance, Valen Expansion), so I need to check for the existance of a SoA and ToB file from that mod that aren't their scripts (because they'll already exist, even if the romance isn't installed). In my example, I don't need these lines for Jelina, for the reason I've just mentioned.
If you want more complicated romance conflicts with dialogue etc, or you don't want one of these script blocks for a particular pairing, I can remove them and do something else for those NPCs if you like.
Once this is released, I'd ask any of you that have already have basic (i.e. similar to this style, nothing fancier) romance killing blocks for mod NPCS to remove them from your mod, and just let Crossmod do it automatically, otherwise we'll end up with two blocks and it'll be messy. Please leave in Bioware romance conflicts as Crossmod will not be doing them.
If you are interested, please post the info above for your released or open beta NPCs (don't PM me unless you have to, otherwise my inbox will get very full, very fast). I'd hope that most romance authors will get involved with this, as it is a good way to clean up multiple romances playing. Yes, this component will be optional for those that like multiple romances.
If you have any questions, post away.
Edit: Removed a ridiculous typo in my example...
Edit #2: Removed yet another crazy typo in the example. Thanks Jason!
Edit #3: Added SoA Check and ToB Check. See section in red.
Edited by Grim Squeaker, 15 June 2005 - 03:48 AM.