OK, GRRRRRRRRRRRRR!
Now I have my hands full. Some mod(s) overwrites CC to the point where I have no Adario
NPC(
TDD) Bolivar
NPC(SOS) and no Melynda for
CtB quest (Helping Melinda). The Bouncers are instantly killed as I enter, Forp is not in the BCS at all for
TDD quest. MAJOR incompatibilities going on here.
So, I did this to the end of 0406.BCS, all just additions of the snips (BAF) from
CtB, SoS, and
TDDIF
Global("Adario","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("Adario","GLOBAL",1)
CreateCreature("ADARIO12",[786.1528],0) // Adario Kalvaras
END
IF
Global("spawn_Forp","AR0406",0)
XPGT(Player1,779999)
THEN
RESPONSE #100
CreateCreature("DDgull01",[1487.1649],8) // Forp
SetGlobal("spawn_Forp","AR0406",1)
END
IF
Global("wmSpawnJoluv","GLOBAL",0)
THEN
RESPONSE #100
CreateCreature("wmart1",[1337.1751],4) // Joluv
SetGlobal("wmSpawnJoluv","GLOBAL",1)
END
IF
Global("CbMadameSpawned","AR0406",0)
THEN
RESPONSE #100
CreateCreature("CBSCHOOK",[282.979],3) // Melynda
SetGlobal("CbMadameSpawned","AR0406",1)
Continue()
END
IF
Global("BOLIVAR","GLOBAL",0)
LevelLT(Player1,16)
THEN
RESPONSE #100
SetGlobal("BOLIVAR","GLOBAL",1)
CreateCreature("BOLIVR09",[426.1462],8) // Bolivar
Continue()
END
IF
Global("BOLIVAR","GLOBAL",0)
LevelGT(Player1,15)
LevelLT(Player1,21)
THEN
RESPONSE #100
SetGlobal("BOLIVAR","GLOBAL",1)
CreateCreature("BOLIVR15",[426.1462],8) // Bolivar
Continue()
END
IF
Global("BOLIVAR","GLOBAL",0)
LevelGT(Player1,20)
THEN
RESPONSE #100
SetGlobal("BOLIVAR","GLOBAL",1)
CreateCreature("BOLIVR20",[426.1462],8) // Bolivar
Continue()
END
NOW IT WORKS!!
New thing:
TDD NPC's Kivan, Kagain and Yeslick have Global's of 0 to spawn them, if not in
BG1 party or in other words not imported. They should still spawn if their respected globals are set to 0 again. Ex. ("Kagain", "GLOBAL",0), but right now they have globals of 1112849 (I made up a number but it was like that)
How do I go about about resetting those Globals back to 0 via BCS scripting (not CLUA or Shadowkeeper)
I was trying
IF
Global("EndOfBG1","GLOBAL",2)
THEN
RESPONSE #100
SetGlobal("Kagain","GLOBAL",0)
END
In the same area AR0020, I am trying to get the GLOBAL to reset to 0 so the following will happen
IF
Global("Kagain","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("Kagain","GLOBAL",1)
CreateCreature("KAGAIN11",[547.494],12) // Kagain
Continue()
END
Thanks in advance for any advice!!
Edited by Hoppy, 13 January 2008 - 12:11 PM.