GetFormFromMod
From The Elder Scrolls Construction Set Wiki
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(form:ref) GetFormFromMod modFileName:string formID:hexString
Attempts to look up and return a form defined in another mod, prepending the two-digit mod index to the formID. The formID is passed in hexadecimal format, i.e. 0001A46B. The first two digits of the formID are ignored and can be omitted. The formID must be passed as a literal value as script variables don't have the precision necessary to store all possible formIDs. Pass "NONE" as the file name to look up a dynamic form in the saved game (mod index 0xFF, for example cloned forms).