Difference between revisions of "FnGetExternalForm"
Jump to navigation
Jump to search
m
Prettied
imported>Odessa (Created page. Source me ;).) |
imported>Odessa m (Prettied) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = UDF | |origin = UDF | ||
|summary = Returns a valid form of the type specified from an external mod, if one exists. Returns 0 if the mod [[IsModLoaded|is not loaded]], the [[IsFormValid|form doesn't exist]], or the form is of an [[Form Type IDs|unexpected type]]. | |summary = Returns a valid form of the type specified from an external mod, if one exists. Returns 0 if the mod [[IsModLoaded|is not loaded]], the [[IsFormValid|form doesn't exist]], or the form is of an [[Form Type IDs|unexpected type]]. | ||
This UDF avoids the potential pitfalls of using [[BuildRef]], detailed in it's article. | |||
|name = call fnGetExternalForm | |name = call fnGetExternalForm | ||
|returnType = ValidForm-or-0 | |returnType = ValidForm-or-0 | ||
Line 18: | Line 18: | ||
}} | }} | ||
}} | }} | ||
==Example== | ==Example== | ||
<pre> | <pre> |