From NWN Lexicon
Revision as of 00:30, 25 June 2019 by Shadguy (talk | contribs) (Spelling fix(es))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Returns an object stored locally on the calling object that holds quest related state information.


Returns an object stored locally on the calling object under the name NW_J_xxxx_MYGLOBALS. xxxx is determined by which script you are including before calling this function. See remarks for list of scripts it is defined in. This object is used to house all quest related information and state. It is used by SetPlotTag(sTag), GetPlotTag(), SetxxxxItem(sTag) and GetxxxxItem(). Just replace xxxx with COMPLEX, STORY, or ARTIFACT.


Function can be found in the following files:
nw_j_artifact.nss: 29
nw_j_story.nss: 29
nw_j_complex.nss: 29

It seems this set of functions are centered around storing plot item related information on NPCs for simple fetch related quests. This particular function only utilizes 2 out of the 7 other functions available. All of these functions are relatively straight forward and easy to understand at a glance. There are two other sets very much similar to this one where the only difference is in the function naming scheme.


#include " nw_j_artifact "



See Also



 author: John Shuell