Difference between revisions of "CheckCharismaMiddle"

From NWN Lexicon
Jump to: navigation, search
(Created page with " =CheckCharismaMiddle()= Determines if the Charisma score of the speaking player is in the normal range. int  CheckCharismaMiddle(); ====Descriptio...")
 
Line 7: Line 7:
 
Determines if the Charisma score of the speaking player is in the normal range.
 
Determines if the Charisma score of the speaking player is in the normal range.
  
 +
<nwscript>
 
  [[int | int ]] CheckCharismaMiddle();
 
  [[int | int ]] CheckCharismaMiddle();
 +
</nwscript>
  
 
====Description====
 
====Description====

Revision as of 21:29, 25 August 2012



CheckCharismaMiddle()

Determines if the Charisma score of the speaking player is in the normal range.

Description

Returns TRUE if the player character in the conversation has a Charisma score greater than 9 and lower than 15.



Remarks

Function found in nw_i0_plot.nss on line 622.

This function always uses GetPCSpeaker() to determine the charisma score, so using it anywhere besides in a conversation will return FALSE. This was used by BioWare to handle different conversation choices for the players depending on how charismatic they were.


Requirements

#include " nw_i0_plot "

Version

1.28

See Also

functions: 

CheckWisdomHigh



 author: John Shuell, editor: Charles Feduke