GetIntelligence

From NWN Lexicon
Jump to: navigation, search



GetIntelligence(object)

Gets the targets Intelligence Ability Score.

int GetIntelligence(
    object oTarget
);

Parameters

oTarget

The object whose Intelligence you wish to inspect.


Description

Returns the Intelligence Ability value of oTarget.



Remarks

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

Very simple function, probably created so the scripters did not have to type out the full call to GetAbilityScore() each time they used it. This merely calls the GetAbilityScore(oTarget, ABILITY_INTELLIGENCE) function in that manner.


Requirements

#include " nw_i0_plot "

Version

1.22

See Also

functions: 

GetWisdom



 author: John Shuell