GetFormerMaster

From NWN Lexicon
Jump to navigationJump to search



GetFormerMaster(object)

Determines the player that was the master of a NPC.

Parameters

oHench

The henchman to get the former master of. (Default: OBJECT_SELF)


Description

Returns the former PC master of oHench and OBJECT_INVALID if oHench didn't have a master.



Remarks

You could use this function to spice up conversations of a former henchmen (that was dropped) and their former 'master'.


Requirements

#include " nw_i0_henchman "

Version

1.22

See Also

functions: 

SetWorkingForPlayer



 author: Charles Feduke, editor: John Shuell, Mistress