GetModTraitSTR

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns specified mod trait.

Syntax

[help]
(Trait:string) GetModTraitSTR iModIndex:int iTrait:int

Traits

0 - Mod author;
1 - Description;

Example

set my_string to GetModTraitSTR 10 0

Will return Author name from mod with index of 10.

Notes

  • Returned information is identical to "Created by" and "Summary" text in GECK or "CNAM - Author" and "SNAM - Description" from FNV Edit.