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.
Functions
| Name | Brief Description |
|---|---|
| CreateFetchItemOn | Internal function. Doesn't do anything. |
| GetFetchee | Internal function. Get a local object from the caller. Official campaign use only. |
| GetFetchItem | 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. |
| GiveFetchItemToPC | 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. |
| PlayerHasFetchItem | Internal function. Checks if a PC has the fetch item. |
| SetFetchee | Internal function. Sets the PC that is running an errand for an NPC during the original module. |
| SetFetchItem | 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. |
| TakeFetchItem | 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