This wiki is a copy of the original Fallout3 GECK wiki created and maintained by the UESP.net. See GECK:Copy Notice for more info.

NX

From the Fallout3 GECK Wiki
Revision as of 08:17, 2 September 2014 by imported>Odessa (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NX, also known as the 'NVSE Extender' is a plugin for NVSE. It adds a number of functions, and a new extended variable type, usually referred to as 'NX variables', which are persistent across game sessions.

NX Variables

NX variables are stored on any reference, and manipulated via a string key. They may be of type float (EVFl), form (EVFo) or string (EVSt), and a reference may have any number associated with it. Keys for each type must be unique, altough alternative types may share the same key. NX variables are accessible from any loaded mod, and are therefore an excellent way for intermod communication without the need for masters. However, since keys must be unique it is advisable and good compatability etiquette to prefix them with a mod identifier. Keys are case insensitive.

float fMood

SunnyREF.NX_SetEVFl "MyMod:Mood", 67

let fMood := SunnyREF.NX_GetEVFl "MyMod:Mood" ; * returns 67
ref rPet

SunnyREF.NX_SetEVFo "MyMod:Pet", CheyenneREF

let rPet := SunnyREF.NX_GetEVFo "MyMod:Pet" ; * returns CheyenneREF
string_var role

SunnyREF.NX_SetEVSt "MyMod:Role", "Goodspring's Gecko Hunter"

let role := SunnyREF.NX_GetEVSt "MyMod:Role" ; * returns above

Functions

See the category.

See Also

External Links