SetModLocalData

From GECK

A function added by the New Vegas Script Extender.

Description

Sets the Mod Local Data value associated with the specified key for the mod to which the calling script belongs. The key must be a string; the data can be a string, number or object, but not an array. Keys are case-insensitive and unique - only one data value can be associated with a particular key. Returns true if the function succeeds, although it should not necessary to check this. Added by NVSE 4.1.

Syntax

(Success:bool) SetModLocalData Key:string Data:multi

Example

SetModLocalData "Sunny's old package", SomePackage

See Also

Personal tools