GetHasSkill
From NWN Lexicon
Contents |
[edit] GetHasSkill(int, object)
Determines whether a creature has a skill.
int GetHasSkill( int nSkill, object oCreature = OBJECT_SELF );
[edit] Parameters
nSkill
oCreature
The creature to check for a skill. (Default: OBJECT_SELF)
[edit] Description
Returns TRUE if oCreature has nSkill, and nSkill is useable, otherwise FALSE.
[edit] Remarks
According to the Third Edition rules, some skills (such as Persuade) are usuable by anyone even if their skill rank is negative. These skills will always return a TRUE value.
[edit] Version
1.22
[edit] See Also
functions: | |
constants: |
author: Tom Cassiotis, editor: Ryan Hunt, additional contributor(s): Drake Coker