Difference between revisions of "GetFormFromFile - Game"

Jump to navigation Jump to search
12 bytes removed ,  22:02, 23 June 2012
m
bPluginArray Δ bDLCArray
imported>JustinOther
(Notes/Simple plugin check/CheckForDLC())
imported>JustinOther
m (bPluginArray Δ bDLCArray)
Line 41: Line 41:
If aiIndex == 0 ; Dawnguard.ESM
If aiIndex == 0 ; Dawnguard.ESM
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x00000000 sPluginArray[aiIndex])
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x00000000 sPluginArray[aiIndex])
bDLCArray[aiIndex] = !bPluginArray[aiIndex]
bDLCArray[aiIndex] = !DLCArray[aiIndex]
If bDLCArray[aiIndex]
If bDLCArray[aiIndex]
Debug.Trace("Dawnguard.ESM is loaded")
Debug.Trace("Dawnguard.ESM is loaded")
Line 50: Line 50:
ElseIf aiIndex == 1 ; Hearthfire.ESM
ElseIf aiIndex == 1 ; Hearthfire.ESM
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x00000000, sPluginArray[aiIndex])
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x00000000, sPluginArray[aiIndex])
bDLCArray[aiIndex] = !bPluginArray[aiIndex]
bDLCArray[aiIndex] = !DLCArray[aiIndex]
If bDLCArray[aiIndex]
If bDLCArray[aiIndex]
Debug.Trace("Hearthfire.ESM is loaded")
Debug.Trace("Hearthfire.ESM is loaded")
Line 59: Line 59:
ElseIf aiIndex == 2 ; KillerBees.esp
ElseIf aiIndex == 2 ; KillerBees.esp
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x0000ABCD, sPluginArray[aiIndex])
If bDLCArray[aiIndex] != Game.GetFormFromFile(0x0000ABCD, sPluginArray[aiIndex])
bDLCArray[aiIndex] = !bPluginArray[aiIndex]
bDLCArray[aiIndex] = !DLCArray[aiIndex]
If bDLCArray[aiIndex]
If bDLCArray[aiIndex]
Debug.Trace("KillerBees.esp izzz loaded")
Debug.Trace("KillerBees.esp izzz loaded")
Anonymous user

Navigation menu