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.
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" | 
Functions
| Name | Brief Description | 
|---|---|
| CopyLocals | Internal function. Copies locals from earlier level henchmen to newer henchman | 
| DestroyAllPersonalItems | Internal function. Destroys all henchman items. | 
| DestroyChapterQuestItem | Internal function. Destroys the chapter specific quest item given to oPC by the henchman. | 
| DestroyChapterRewardItem | Internal function. Destroys the chapter specific reward item given to oPC by the henchman. | 
| DoLevelUp | Internal function. Levels up an NPC to appropriate PC henchman level. | 
| EndModule | Internal function. Used for determining if the current module is an end module. | 
| GetBeenHired | Internal function. Checks if a henchman has been hired. | 
| GetCanLevelUp | Internal function. Determines if an NPC henchman should level up. | 
| GetChapter | Internal function. Gets the chapter number the player is currently in. | 
| GetDidDie | Internal function. TRUE if the player has died. | 
| GetFormerMaster | Internal function. Determines the player that was the master of a NPC. | 
| GetGreetingVar | Internal function. This variable keeps track of whether or not the player has talked to this henchman. | 
| GetMyArea | 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. | 
| GetWorkingForPlayer | Internal function. Returns if the henchman is working for the player. | 
| GiveChapterRewardItem | Internal function. Gives a reward item to the player. | 
| GivePersonalItem | Internal function. Makes the henchman give his or her personal item to the player. | 
| HasChapterQuestItem | Internal function. Checks if player has the chapter quest item. | 
| HasChapterRewardItem | Internal function. Checks if player has the chapter reward item. | 
| HasPersonalItem | Internal function. Checks if the player has the henchman’s personal item. | 
| PC | Internal function. debug function for displaying strings. Returns GetPCLevellingUp(). | 
| SetBeenHired | Internal function. Sets whether a henchman has been hired before | 
| SetDidDie | Internal function. Stores if the henchman has just died | 
| SetFormerMaster | Internal function. Marks someone as an NPC henchman's former master PC. | 
| SetGreetingVar | Internal function. This variable keeps track of whether or not the player has talked to this henchman. | 
| SetStoryVar | Internal function. Used to track the current storyline for the henchman a PC has working for him. Original Campaign. | 
| SetWorkingForPlayer | Internal function. Specifies the PC name the henchman is working for. | 
| SpawnHenchman | 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. | 
| StripAllPersonalItemsFromEveryone | Internal function. Removes henchmen 'hired' items for use in the original campaign. | 
author: Charles Feduke, editor: Mistress