SetGreetingVar

From NWN Lexicon
Jump to navigationJump to search



SetGreetingVar(int, object)

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

void SetGreetingVar(
    int nChapter,
    object oPC
);

Parameters

nChapter

The chapter the player is in.

oPC

The player to set the variable on.


Description

Sets the integer found on the player with the variable name of "NW_L_HEN"+ henchman's tag + nChapter to the value of 10.



Remarks

Function found in nw_i0_henchman.nss on line 176

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: 

GetGreetingVar



 author: John Shuell