Thanks both, I think I'm super close, I found another place of someone asking the same thing in 2007 haha, https://forums.mixnmojo.com/topic/160582-jade-empire-modding-see-first-post-for-info-summary/page/6/
And they use a similar script:
void main() {
SetGlobalBoolean("J00_SILKFOX_ROMANCE_DONE", FALSE);
SetGlobalBoolean("J00_SILKFOX_ROMANCE", TRUE);
SetGlobalBoolean("J00_SKY_ROMANCE", FALSE);
}
So I'm totally in the right trackk! haha. Guessing the _DONE is used for after.
I've removed the enemy script from another part of the dlg file above, and the enemy doesn't appear. So I think the dlg is indeed overwriting, but the script must maybe not be firing?
Unfortunately I tried
SendMessageToPC(GetFirstPC(), "SCRIPT FIRING");
There isn't a combat section but there is a dialog section, but don't see much.
and also tried destroying myself but didn't see anything come up:
DelayCommand(2.5, DestroyObject(GetFirstPC(), 0.0, TRUE, 0.0));
With the script do I need the .ncs at the end when referencing it? Does the script have to already exist? As I just created a new one, I didn't like write over another script or similar?
I feel like its the script itself that maybe isn't firing?
SFRom.ncs
SFRom.nss
j00_wdragon_c7.dlg