SetBeenHired
From NWN Lexicon
Contents |
[edit] SetBeenHired(int, object)
Sets whether a henchman has been hired before
void SetBeenHired( int bHired = TRUE, object oTarget = OBJECT_SELF );
[edit] Parameters
bHired
Has this henchman been hired (Default: TRUE)
oTarget
The henchman (Default: OBJECT_SELF)
[edit] Description
From the source code:
Henchmen can only be hired once, ever.
This checks or sets the local on the henchmen
that keeps track whether they've ever been hired.
[edit] Remarks
Found in: nw_i0_henchman.nss: 105
Basically, it just sets a local variable on the henchman, telling us that this henchman has been hired.
[edit] Requirements
#include " nw_i0_henchman "
[edit] Version
1.28
[edit] See Also
functions: |
author: Lilac Soul, additional contributor(s): Lilac Soul