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...")
 
m (Prettified article formatting)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
 
 
 
=CheckCharismaMiddle()=
 
 
 
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.
  
[[int | int ]] CheckCharismaMiddle();
+
<nwscript>
 
+
int CheckCharismaMiddle();
====Description====
+
</nwscript>
 
+
{{DISPLAYTITLE:CheckCharismaMiddle()}}
 +
===Description===
 
Returns TRUE if the player character in the conversation has a Charisma score greater than 9 and lower than 15.
 
Returns TRUE if the player character in the conversation has a Charisma score greater than 9 and lower than 15.
  
<br /><br />
+
===Remarks===
 +
Function found in nw_i0_plot.nss on line 622.
  
====Remarks====
+
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.
  
Function found in nw_i0_plot.nss on line 622. <br /><br /> 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===
 
+
<nowiki>#include "</nowiki>[[nw_i0_plot]]"
<br />
 
 
 
====Requirements====
 
 
 
<nowiki>#include "</nowiki>[[ nw_i0_plot | nw_i0_plot ]]"
 
 
 
====Version====
 
  
 +
===Version===
 
1.28
 
1.28
  
====See Also====
+
===See Also===
 
 
 
{| class="seealso"
 
{| class="seealso"
 
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
 
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
|
+
| [[CheckCharismaLow]], [[CheckCharismaHigh]]
[[ CheckWisdomHigh  | CheckWisdomHigh ]]
+
|} <br />
|-
 
|}
 
 
 
<br />
 
 
----
 
----
<font color="gray">  author: John Shuell, editor: Charles Feduke</font><br />  <br />
+
<font color="gray">  author: John Shuell, editor: Charles Feduke</font>
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Get_Data_from_Creature_Functions]]
 
[[Category:Get_Data_from_Creature_Functions]]

Latest revision as of 23:44, 12 June 2013

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:  CheckCharismaLow, CheckCharismaHigh


 author: John Shuell, editor: Charles Feduke