SetBeenHired(int, object)

Sets whether a henchman has been hired before

void SetBeenHired(
    int bHired = TRUE,
    object oTarget = OBJECT_SELF
);

Parameters

bHired

Has this henchman been hired (Default: TRUE)

oTarget

The henchman (Default: OBJECT_SELF)


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.



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.


Requirements

#include "nw_i0_henchman"

Version

1.28

See Also

functions: CopyLocals | GetBeenHired
categories: Henchmen/Familiars/Summoned Functions


 author: Lilac Soul, additional contributor(s): Lilac Soul