GetAbilityScore(object, int)

Get the ability score of a specific type for a creature.

int GetAbilityScore(
    object oCreature,
    int nAbilityType
);

Parameters

oCreature

The creature whose ability score is sought.

nAbilityType

ABILITY_*


Description

Returns the ability score of type nAbilityType for oCreature (otherwise 0).



Version

1.22

See Also

functions: GetCharisma | GetIntelligence | GetWisdom
categories: Get Data from Creature Functions
constants: ABILITY_* Constants


 author: Kristian Markon
 Send comments on this topic.