Nw j fetch
From NWN Lexicon
[edit] nw_j_fetch
These functions are specific to the Official Campaign.
They manipulate the Official Campaign flags: NW_J_FETCH_ITEM, NW_J_FETCH_MYGLOBALS, NW_J_FETCH_OWNER, NW_J_FETCH_PLOT_TAG, and NW_J_FETCH_PLOTTOKEN_1.
NOTE: None of the functions contained in this file have prototypes.
[edit] Functions
Name | Brief Description |
---|---|
Internal function. Doesn't do anything. | |
Internal function. Get a local object from the caller. Official campaign use only. | |
Internal function. Gets the tag of a plot item for a quest in the Official Campaign. | |
GetPlotTag | Internal function. Gets the value of a local string called NW_J_FETCH_PLOT_TAG. |
GetPlotToken | Internal function. Returns the ID (NW_J_FETCH_PLOTTOKEN_1) of the plot token. |
Internal function. Gives the fetch item to the PC. | |
Global | Internal function. Returns the object (NW_J_FETCH_MYGLOBALS) where plot globals for this plot are supposed to be stored. |
Internal function. Checks if a PC has the fetch item. | |
Internal function. Sets the PC that is running an errand for an NPC during the original module. | |
Internal function. Specifies what item the PC needs to fetch in the Original Campaign. | |
SetGlobal | Internal function. Sets where all the globals (NW_J_FETCH_MYGLOBALS) for this plot are going to be stored. |
SetPlotTag | Internal function. Sets a local string named NW_J_FETCH_PLOT_TAG. |
SetPlotToken | Internal function. Sets the plot token to a value (NW_J_FETCH_PLOTTOKEN_1) the user wants. |
Internal function. Removes the plot related item from a player's inventory. Calls GetFetchItem to determine which item to take. |
author: Charles Feduke, editor: Mistress, contributor: Graewerld