Difference between revisions of "GetFormFromFile - Game"
Jump to navigation
Jump to search
m
→Examples: Swapped Killer Bees for Dragonborn. :( I'll keep hoping for a Killer Bes DLC, just the same!
imported>JustinOther m (→Examples: Fix'd arg renaming mishap) |
imported>JustinOther m (→Examples: Swapped Killer Bees for Dragonborn. :( I'll keep hoping for a Killer Bes DLC, just the same!) |
||
Line 35: | Line 35: | ||
<source lang="papyrus">Bool[] Property bDLCIsLoaded Auto ; Element 0 is bDawnguard, etc. | <source lang="papyrus">Bool[] Property bDLCIsLoaded Auto ; Element 0 is bDawnguard, etc. | ||
Int[] Property iKnownFormID Auto ; Element 0 is 2048 for Dawnguard's DLC1AurielsBow "Auriel's Bow" [WEAP:02000800], etc. | Int[] Property iKnownFormID Auto ; Element 0 is 2048 for Dawnguard's DLC1AurielsBow "Auriel's Bow" [WEAP:02000800], etc. | ||
String[] Property sDLCName Auto ; Element 0 is Dawnguard.ESM, etc. | String[] Property sDLCName Auto ; Element 0 is Dawnguard.ESM, Element 1 is HearthFires.ESM, element 2 is Dragonborn.ESM, etc. | ||
Function CheckForDLC() | Function CheckForDLC() | ||
Line 50: | Line 50: | ||
; Make any changes needed for Hearthfire | ; Make any changes needed for Hearthfire | ||
ElseIf iIndex == 2 ; KillerBees | ElseIf iIndex == 2 ; KillerBees | ||
; Make any changes needed for | ; Make any changes needed for Dragonborn | ||
EndIf | EndIf | ||
Else | Else | ||
Line 59: | Line 59: | ||
; Revert any changes previously made for Hearthfire | ; Revert any changes previously made for Hearthfire | ||
ElseIf iIndex == 2 ; KillerBees | ElseIf iIndex == 2 ; KillerBees | ||
; Revert any changes previously made for | ; Revert any changes previously made for Dragonborn | ||
EndIf | EndIf | ||
EndIf | EndIf |