CheckCharismaLow()

From NWN Lexicon

Determines if the Charisma score of the speaking player is below 10.

Contents

[edit] Description

Returns TRUE if the player character in the conversation has an charisma lower than 10.

[edit] Remarks

Function can be found in nw_i0_plot.nss on line 658.

This function always uses GetPCSpeaker() to determine the charisma score, so using it anywhere besides in a conversation will return FALSE.

[edit] Requirements

#include "nw_i0_plot"

[edit] Version

1.28

[edit] Example

// Add as a starting conditional on a conversation thread for a 
// negative NPC reaction
 
#include "nw_i0_plot"
 
int StartingConditional()
{
    int bUglyLooker = CheckCharismaLow();
    return bUglyLooker;
}

[edit] See Also

functions:  CheckCharismaMiddle, CheckCharismaHigh


 author: John Shuell, editor: Charles Feduke, additional contributor(s): Michael Schirf

Personal tools
Categories