GetTypeFromTalent

From NWN Lexicon



Contents

[edit] GetTypeFromTalent(talent)

Determines the primary category of the talent requested.

int GetTypeFromTalent(
    talent tTalent
);

[edit] Parameters

tTalent


[edit] Description

Returns the type (TALENT_TYPE_*) of tTalent. This is the primary (i.e. spell, feat and skill) category of the talent.



[edit] Remarks

Use GetIdFromTalent function to return specific spell, feat or skill of tTalent.


[edit] Version

1.22

[edit] See Also

functions: 

TalentBuffSelf

constants: 

TALENT_TYPE_* Constants



 author: Jody Fletcher
 

Personal tools
Categories