Difference between revisions of "GetNthModName"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(created)
 
imported>Odessa
m
 
Line 12: Line 12:
string_var mod_2A
string_var mod_2A
let mod_2A := GetNthModName 42
let mod_2A := GetNthModName 42
; mod_2A == "SomeFoxyModName.esp"
</pre>
</pre>
==Note==
==Note==
Line 17: Line 19:
==See Also==
==See Also==
*[[GetModIndex]] (the reverse, to get the index from the name)
*[[GetModIndex]] (the reverse, to get the index from the name)
*[[GetSourceModIndex]] (get index for a form)
*[[GetNumLoadedMods]]
*[[GetNumLoadedMods]]
*[[GetModLocalData]]
*[[GetModLocalData]]

Latest revision as of 17:39, 21 July 2014

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the filename of the active mod loaded at the specified index.

Syntax

[help]
(string) GetNthModName ModIndex:int

Example

string_var mod_2A
let mod_2A := GetNthModName 42

; mod_2A == "SomeFoxyModName.esp"

Note

  • The index is specified as an int, not a hexadecimal string.

See Also