40
edits
m (Convert source tags to syntaxhighlight) |
No edit summary |
||
| Line 70: | Line 70: | ||
*Don't forget to cast if setting a property to any given form type with GetFormFromFile. | *Don't forget to cast if setting a property to any given form type with GetFormFromFile. | ||
*Almost invariably, a plugin will have a form with 0x00000800 or 0x00000D62 as its FormID. The latter for a plugin that is masterless when its first form is created and the former when another plugin is loaded at that time. Checking for both FormIDs in most plugins will suffice to merely determine if asFileName is loaded, but there's always the possibility the first form added gets deleted in which case you'd get a false negative. Whenever possible, use a verified FormID that is likely to remain in asFileName. | *Almost invariably, a plugin will have a form with 0x00000800 or 0x00000D62 as its FormID. The latter for a plugin that is masterless when its first form is created and the former when another plugin is loaded at that time. Checking for both FormIDs in most plugins will suffice to merely determine if asFileName is loaded, but there's always the possibility the first form added gets deleted in which case you'd get a false negative. Whenever possible, use a verified FormID that is likely to remain in asFileName. | ||
* For plugin files flagged as light masters, including ESL and ESPFE, only the lower three hex digits are needed. The rest should be zeros including the "FE" digits. For example, to get form FExxx85B of an ESL, aiFormID should be given as 0x0000085B. | |||
== See Also == | == See Also == | ||
edits