GetFormFromMod
From GECK
(Redirected from GFFM)
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
An alternative to BuildRef, this function takes two strings with the plugin name and the hexadecimal formID (without the mod index, i.e. the first two numbers).
Syntax
(form) GetFormFromMod pluginName:string hexFormID:string
Or:
(form) GFFM pluginName:string hexFormID:string
Example
ref rForm if IsModLoaded "Some Plugin.esp" set rForm to GetFormFromMod "Some Plugin.esp" "AED" ;* "AED" = "000AED", leading zeros can be removed endif
See Also
- BuildRef
- GetVariable
- AddScriptVariable
- SetVariable
- SetRefVariable
- EditorIDToFormID - Can be used to achieve similar results to this function if the form has an Editor ID.