SetGreetingVar

From NWN Lexicon



Contents

[edit] SetGreetingVar(int, object)

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

void SetGreetingVar(
    int nChapter,
    object oPC
);

[edit] Parameters

nChapter

The chapter the player is in.

oPC

The player to set the variable on.


[edit] Description

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



[edit] 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.


[edit] Requirements

#include " nw_i0_henchman "

[edit] Version

1.22

[edit] See Also

functions: 

GetGreetingVar



 author: John Shuell
 

Personal tools
Categories