Editing GetFormFromFile - Game
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 21: | Line 21: | ||
; 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") | ||
; 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 ) |