GetCreatureHasTalent(talent, object)

Determines whether a creature has a specific talent.

int GetCreatureHasTalent(
    talent tTalent,
    object oCreature = OBJECT_SELF
);

Parameters

tTalent

The talent which will be checked for on the given creature.

oCreature

The creature to see if it has the specified talent. (Default: OBJECT_SELF)


Description

Returns TRUE if oCreature has tTalent, otherwise FALSE.



Version

1.22

See Also

functions: GetCreatureTalentBest | GetCreatureTalentRandom | GetIsTalentValid
categories: Core AI Talent Functions | Get Data from Creature Functions


 author: Tom Cassiotis
 Send comments on this topic.