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.

Difference between revisions of "NX"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(Created)
 
imported>Odessa
m (note on 0)
 
Line 1: Line 1:
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, 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==
NX variables are stored on any reference, and manipulated via a string key. They may be of type [[float]] (EVFl), [[Ref Variable|form]] (EVFo) or [[String Variable|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.
NX variables are stored on any reference, and manipulated via a string key. They may be of type [[float]] (EVFl), [[Ref Variable|form]] (EVFo) or [[String Variable|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- if a mod references a key that does not exist, the value 0 is simply returned. However, since keys must be unique it is advisable and good compatability etiquette to prefix them with a mod identifier. Keys are case insensitive.
<pre>
<pre>
float fMood
float fMood

Latest revision as of 09:11, 2 September 2014

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[edit | edit source]

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- if a mod references a key that does not exist, the value 0 is simply returned. 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[edit | edit source]

See the category.

See Also[edit | edit source]

External Links[edit | edit source]