IF
OnCreation()
Global("NewGame","AR0602",0)
THEN
RESPONSE #100
ActionOverride(Player1,MakeUnselectable(2147483647))
HideGUI()
FadeToColor([1.0],0)
SetGlobal("NewGame","AR0602",1)
Continue()
END
to:
IF
OnCreation()
Global("NewGame","AR0602",0)
Global("ENDOFBG1","GLOBAL",0)
THEN
RESPONSE #100
SetCursorState(TRUE)
FadeToColor([1.0],0)
SmallWait(10)
StartMovie("SOAINTRO")
SetGlobal("ENDOFBG1","GLOBAL",2)
SetGlobal("NewGame","AR0602",1)
Continue()
END
IF
OnCreation()
Global("NewGame","AR0602",0)
Global("ENDOFBG1","GLOBAL",1)
THEN
RESPONSE #100
SetCursorState(TRUE)
FadeToColor([1.0],0)
SmallWait(10)
MoveViewPoint([0.0],INSTANT)
StartMovie("SOAINTRO")
SetGlobal("NewGame","AR0602",1)
SetGlobal("ENDOFBG1","GLOBAL",2)
Continue()
END
IF
XP(Player1,1)
THEN
RESPONSE #100
AddXPObject(Player1,88999)
Continue()
END
IF
Global("ImoenImport","GLOBAL",0)
Global("ImoenPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("ImoenImport","GLOBAL",1)
ReallyForceSpellRES("BGIMPORT","Imoen2")
ActionOverride("Imoen2",ChangeAIScript("Imoen",OVERRIDE))
ActionOverride("Imoen2",ChangeAIScript("",GENERAL))
ActionOverride("Imoen2",ChangeAIScript("wtasight",DEFAULT))
ActionOverride("Imoen2",ChangeAIScript("SBTIMO",RACE))
ActionOverride("Imoen2",SetDialog("Imoen10"))
ActionOverride("Imoen2",SetNumTimesTalkedTo(0))
ActionOverride("Imoen2",CreateItem("Imoenhp1",1,0,0)) // Imoen's Belt
ActionOverride("Imoen2",FillSlot(SLOT_BELT))
Continue()
END
IF
Global("ImoenImport","GLOBAL",0)
Global("ImoenPartyBG1","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("ImoenImport","GLOBAL",2)
CreateCreature("Imoen10",[3198.2837],6) // Imoen
SetGlobal("SPRITE_IS_DEADIMOEN2","GLOBAL",0)
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",1)
ReallyForceSpellRES("BGJAPORT","Jaheira")
ActionOverride("Jaheira",ChangeAIScript("Jaheira",OVERRIDE))
ActionOverride("Jaheira",ChangeAIScript("dplayer",DEFAULT))
ActionOverride("Jaheira",ChangeAIScript("SBTJAH",RACE))
ActionOverride("Jaheira",SetDialog("Jaheira"))
ActionOverride("Jaheira",SetNumTimesTalkedTo(0))
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
Dead("Jaheira")
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelLT(Player1,
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir7",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelGT(Player1,7)
LevelLT(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir8",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
Level(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir11",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END
IF
Global("JaheiraImport","GLOBAL",0)
Global("JaheiraPartyBG1","GLOBAL",0)
!Dead("Jaheira")
LevelGT(Player1,11)
THEN
RESPONSE #100
SetGlobal("JaheiraImport","GLOBAL",2)
CreateCreature("Jaheir12",[3898.2676],6) // Jaheira
SetGlobal("SPRITE_IS_DEADJAHEIRA","GLOBAL",0)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",1)
ChangeAlignment("Minsc",CHAOTIC_GOOD)
ReallyForceSpellRES("BGMIPORT","Minsc")
ActionOverride("Minsc",ChangeAIScript("Minsc",OVERRIDE))
ActionOverride("Minsc",ChangeAIScript("minscx",GENERAL))
ActionOverride("Minsc",ChangeAIScript("dplayer",DEFAULT))
ActionOverride("Minsc",ChangeAIScript("SBTMIN",RACE))
ActionOverride("Minsc",SetDialog("Minsca"))
ActionOverride("Minsc",SetNumTimesTalkedTo(0))
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
Dead("Minsc")
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
LevelLT(Player1,
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc7",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
Level(Player1,
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc8",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
Level(Player1,9)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc9",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
OR(2)
Level(Player1,10)
Level(Player1,11)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc10",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END
IF
Global("MinscImport","GLOBAL",0)
Global("MinscPartyBG1","GLOBAL",0)
!Dead("Minsc")
LevelGT(Player1,11)
THEN
RESPONSE #100
SetGlobal("MinscImport","GLOBAL",2)
CreateCreature("Minsc12",[4029.2759],6) // Minsc
SetGlobal("SPRITE_IS_DEADMINSC","GLOBAL",0)
Continue()
END
IF
Global("IHavePants","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHavePants","GLOBAL",2)
SetGlobal("BG1Pantaloons","GLOBAL",1)
ActionOverride("Picture1",CreateItem("MISC47",0,0,0)) // Golden Pantaloons
Continue()
END
IF
Global("IHaveRing","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHaveRing","GLOBAL",2)
ActionOverride("Shelf1",CreateItem("ring25b",0,0,0)) // Koveras' Ring of Protection
Continue()
END
IF
Global("IHaveMoonblade","GLOBAL",1)
THEN
RESPONSE #100
SetGlobal("IHaveMoonblade","GLOBAL",2)
ActionOverride("Picture1",CreateItem("sw1h13",0,0,0)) // Moonblade
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMCAT") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMCAT")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMDUST") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMDUST")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMFAIR") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMFAIR")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMFER") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMFER")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMIMP") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMIMP")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMPSD") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMPSD")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMQUAS") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMQUAS")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
IF
Global("MeetOldenFriends","GLOBAL",10)
Global("IHaveFamiliar","GLOBAL",0)
PartyHasItem("FAMRAB") // Familiar
THEN
RESPONSE #100
ActionOverride("Picture 1",TakePartyItem("FAMRAB")) // Familiar
SetGlobal("IHaveFamiliar","GLOBAL",2)
Continue()
END
Then go from a save-game BEFORE the transition.
This was a hasty post
Edited by Ascension64, 10 November 2006 - 12:13 AM.