CheckIntelligenceHigh()
話しているプレイヤーの知力の値が15以上どうか判定します。
int CheckIntelligenceHigh();
Description
会話中のプレイヤーキャラクターの知力の値が15以上ならばTRUEを返します。
Remarks
この関数はnw_i0_plot.nssの728行目にあります。
この関数は常にGetPCSpeaker()で知力の値を判定するために使われます。なので会話のないところで使用するとFALSEを返します。
これはプレイヤーにどれくらい知力があるかによって異なった会話の内容を選択するためにBioWareが使用しました。
Requirements
#include "nw_i0_plot"
Version
1.22
Example
//Add as a starting conditional on a conversation thread for a Wizard who will not bother
//talking to anyone unless they are exceptionally bright.
#include "NW_I0_PLOT"
int StartingConditional()
{
int bSmart = CheckIntelligenceHigh();
return bSmart;
}
See Also
| functions: | CheckCharismaHigh | CheckCharismaLow | CheckCharismaMiddle | CheckCharismaNormal | CheckIntelligenceLow | CheckIntelligenceNormal | CheckWisdomHigh |
| categories: | Get Data from Creature Functions |
author: John Shuell, JP team: marshall
Send comments on this topic.