GetGreetingVar

From NWN Lexicon
Jump to navigationJump to search



GetGreetingVar(int, object)

This variable keeps track of whether or not the player has talked to this henchman.

int GetGreetingVar(
    int nChapter,
    object oPC
);

Parameters

nChapter

The chapter the player is in.

oPC

The player to test for.


Description

Returns TRUE if the integer found on the player with the variable name of "NW_L_HEN"+ henchman's tag + nChapter is equal to 10.



Remarks

Function found in nw_i0_henchman.nss on line 180

This function can let a henchman know if he has talked to the player for this particular chapter yet.


Requirements

#include " nw_i0_henchman "

Version

1.22

See Also

functions: 

SetGreetingVar



 author: John Shuell