Nw j rescue

From NWN Lexicon



[edit] nw_j_rescue

These functions are specific to the Official Campaign.<br /><br />They manipulate the Official Campaign flags: NW_J_MYGLOBALS, NW_J_MYPRISONER, NW_J_PLOTTOKEN_1, NW_J_RESCUE_JOURNAL, NW_J_RESCUE_RING, and NW_Resc_RingGiven.<br /><br />NOTE: None of the functions contained in this file have prototypes.

[edit] Functions

Name Brief Description

GetPlotJournal

Internal function. Retrieves the string that is the name of a journal entry.

GetPlotRingTag

Internal function. Retrieves the tag of the plot ring.
GetPlotToken Internal function. Returns the ID (NW_J_PLOTTOKEN_1) of the plot token.

GetPrisoner

Internal function. Retrieves the prisoner object.

GetRingGivenTo

Internal function. Retrieves the PC that the ring was given to.

GiveRingToPlayer

Internal function. Creates a plot ring and places it in a player's inventory.
Global Internal function. Returns the object (NW_J_MYGLOBALS) where plot globals for this plot are supposed to be stored.

PlayerHasRing

Internal function. Checks if a PC has the ring used in the rescue plot.
SetGlobal Internal function. Sets where all the globals (NW_J_MYGLOBALS) for this plot are going to be stored.

SetPlotJournal

Internal function. Puts the current status of a plot during the Rescue mission of the Original Campaign.

SetPlotRing

Internal function. Stores the tag that represents the plot ring.
SetPlotToken Internal function. Sets the plot token to a value (NW_J_PLOTTOKEN_1) the user wants.

SetPrisoner

Internal function. Stores the prisoner in a local variable.

SetRingGivenTo

Internal function. Stores the PC that the ring was given to.



 author: Charles Feduke, editor: Mistress, contributor: Graewerld
 

Personal tools
Categories