nw_i0_henchman

This is the include file for the henchmen who can join the player.

Constants

NameValueBrief Description
sDaelinTag"NW_HEN_DAE"
sSharwynTag"NW_HEN_SHA"
sLinuTag"NW_HEN_LIN"
sGallowTag"NW_HEN_GAL"
sGrimTag"NW_HEN_GRI"
sBoddyTag"NW_HEN_BOD"
INT_NUM_HENCHMEN6
INT_FUDGE3Used 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.


Functions

NameBrief Description
CopyLocalsCopies locals from earlier level henchmen to newer henchman
DestroyAllPersonalItemsDestroys all henchman items.
DestroyChapterQuestItemDestroys the chapter specific quest item given to oPC by the henchman.
DestroyChapterRewardItemDestroys the chapter specific reward item given to oPC by the henchman.
DoLevelUpLevels up an NPC to appropriate PC henchman level.
EndModuleUsed for determining if the current module is an end module.
GetBeenHiredChecks if a henchman has been hired.
GetCanLevelUpDetermines if an NPC henchman should level up.
GetChapterGets the chapter number the player is currently in.
GetDidDieTRUE if the player has died.
GetFormerMasterDetermines the player that was the master of a NPC.
GetGreetingVarThis variable keeps track of whether or not the player has talked to this henchman.
GetMyAreaRetrieves the tag for the area of an object.
GetStoryVar
GetWorkingForPlayerReturns if the henchman is working for the player.
GiveChapterRewardItemGives a reward item to the player.
GivePersonalItemMakes the henchman give his or her personal item to the player.
HasChapterQuestItemChecks if player has the chapter quest item.
HasChapterRewardItemChecks if player has the chapter reward item.
HasPersonalItemChecks if the player has the henchman’s personal item.
PCdebug function for displaying strings. Returns GetPCLevellingUp().
SetBeenHiredSets whether a henchman has been hired before
SetDidDieStores if the henchman has just died
SetFormerMasterMarks someone as an NPC henchman's former master PC.
SetGreetingVarThis variable keeps track of whether or not the player has talked to this henchman.
SetStoryVarUsed to track the current storyline for the henchman a PC has working for him. Original Campaign.
SetWorkingForPlayerSpecifies the PC name the henchman is working for.
SpawnHenchmanCreates the henchmen for each chapter of the original campaign of appropriate level for PC.
STR_PersonalItem
STR_QuestItem
STR_RewardItem
StripAllPersonalItemsFromEveryoneRemoves henchmen 'hired' items for use in the original campaign.


 author: Charles Feduke, editor: Mistress
 Send comments on this topic.