GetModName

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Returns a string containing the file name, minus the extension, of the mod at the given index. Pass '1' as an optional second parameter to keep the extension.

Syntax

[help]
(string) GetModName index:int keepext:int

Example

GetModName 0

"FalloutNV"

GetModName 0 1

"FalloutNV.esm"

See Also