Nw i0 henchman
From NWN Lexicon
		
		
[edit] nw_i0_henchman
This is the include file for the henchmen who can join the player.
NOTE 1: This file contains a couple of functions that are also present in  x0_i0_common .
NOTE 2: None of the functions contained in this file have prototypes.
[edit] Constants
| Name | Value | Brief Description | 
|---|---|---|
| INT_FUDGE | 3 | Used to help with figuring out the filename to use since the numbering for files begins at 1 but the numbering for levels begins at 4. | 
| INT_NUM_HENCHMEN | 6 | |
| sBoddyTag | "NW_HEN_BOD" | |
| sDaelinTag | "NW_HEN_DAE" | |
| sGallowTag | "NW_HEN_GAL" | |
| sGrimTag | "NW_HEN_GRI" | |
| sLinuTag | "NW_HEN_LIN" | |
| sSharwynTag | "NW_HEN_SHA" | 
[edit] Functions
| Name | Brief Description | 
|---|---|
| Internal function. Copies locals from earlier level henchmen to newer henchman | |
| Internal function. Destroys all henchman items. | |
| Internal function. Destroys the chapter specific quest item given to oPC by the henchman. | |
| Internal function. Destroys the chapter specific reward item given to oPC by the henchman. | |
| Internal function. Levels up an NPC to appropriate PC henchman level. | |
| Internal function. Used for determining if the current module is an end module. | |
| Internal function. Checks if a henchman has been hired. | |
| Internal function. Determines if an NPC henchman should level up. | |
| Internal function. Gets the chapter number the player is currently in. | |
| Internal function. TRUE if the player has died. | |
| Internal function. Determines the player that was the master of a NPC. | |
| Internal function. This variable keeps track of whether or not the player has talked to this henchman. | |
| Internal function. Retrieves the tag for the area of an object. | |
| GetStoryVar | Internal function. Used to track the current storyline for the henchman a PC has working for him. Original Campaign. | 
| Internal function. Returns if the henchman is working for the player. | |
| Internal function. Gives a reward item to the player. | |
| Internal function. Makes the henchman give his or her personal item to the player. | |
| Internal function. Checks if player has the chapter quest item. | |
| Internal function. Checks if player has the chapter reward item. | |
| Internal function. Checks if the player has the henchmanâs personal item. | |
| Internal function. debug function for displaying strings. Returns GetPCLevellingUp(). | |
| Internal function. Sets whether a henchman has been hired before | |
| Internal function. Stores if the henchman has just died | |
| Internal function. Marks someone as an NPC henchman's former master PC. | |
| Internal function. This variable keeps track of whether or not the player has talked to this henchman. | |
| Internal function. Used to track the current storyline for the henchman a PC has working for him. Original Campaign. | |
| Internal function. Specifies the PC name the henchman is working for. | |
| Internal function. Creates the henchmen for each chapter of the original campaign of appropriate level for PC. | |
| STR_PersonalItem | Internal function. Return the various names of objects and stuff used by and checked by the henchman. | 
| STR_QuestItem | Internal function. Return the various names of objects and stuff used by and checked by the henchman. | 
| STR_RewardItem | Internal function. Return the various names of objects and stuff used by and checked by the henchman. | 
| Internal function. Removes henchmen 'hired' items for use in the original campaign. | 
  author: Charles Feduke, editor: Mistress
  
