GetNthModName

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the filename of the active mod loaded at the specified index as a string.

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