Difference between revisions of "GetModIndex"
Jump to navigation
Jump to search
imported>Odessa (added examples + see also) |
imported>Odessa (link to opposite function) |
||
Line 18: | Line 18: | ||
==See Also== | ==See Also== | ||
*[[IsModLoaded]] | *[[IsModLoaded]] | ||
*[[GetNthModName]] (the reverse, to get the name from an index) | |||
*[[BuildRef]] | *[[BuildRef]] | ||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] |
Revision as of 15:46, 20 July 2014
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the index of the specified mod.
Syntax
(int) GetModIndex modName:string
Example
int iIndex set iIndex to GetModIndex "MyModFileName.esp" PrintC "My mod version X.Y is loaded at decimal '%g' or hex '%x2'" iIndex, iIndex
See Also
- IsModLoaded
- GetNthModName (the reverse, to get the name from an index)
- BuildRef