Difference between revisions of "GetFormFromFile - Game"
Jump to navigation
Jump to search
m
'As FormList' added to example.
imported>JLundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script ''(Requires 1.6)'' Obtains the form specified by its form ID number which originated in the speci...") |
imported>JustinOther m ('As FormList' added to example.) |
||
Line 23: | Line 23: | ||
; Obtain form 0000ABCD we expect to be added by the KillerBees plugin | ; Obtain form 0000ABCD we expect to be added by the KillerBees plugin | ||
; Note the top most byte in the given ID is unused so 0000ABCD works as well as 0400ABCD | ; Note the top most byte in the given ID is unused so 0000ABCD works as well as 0400ABCD | ||
FormList beekillerlist = Game.GetFormFromFile(0x0000ABCD, "KillerBees.esp") | FormList beekillerlist = Game.GetFormFromFile(0x0000ABCD, "KillerBees.esp") As FormList | ||
; If "KillerBees.esp" is not loaded the form will be NONE. Otherwise, add our weapon to the list. | ; If "KillerBees.esp" is not loaded the form will be NONE. Otherwise, add our weapon to the list. | ||
if ( beekillerlist ) | if ( beekillerlist ) |