TalentSkill

From NWN Lexicon
Jump to navigationJump to search



TalentSkill(int)

Creates a skill talent

talent TalentSkill(
    int nSkill
);

Parameters

nSkill

SKILL_*


Description

Create a Skill Talent.

This should not be used - it doesn't currently work.



Remarks

The SKILL_* constants reflect row numbers in skills.2da

It should do the same as ActionUseSkill(), but currently is broken and using it doesn't work in anyway whatsoever. Definitely use ActionUseSkill() until it is fixed or removed.


Known Bugs

Currently, anytime this is used, it is invalid and if passed into ActionUseTalent, it will result in the NPC not doing anything and standing there.


Version

1.30

Example

// Code sample is invalid as it won't work. TalentSpell/Feat/Skill doesn't work.

See Also

functions: 

TalentSpell

constants: 

SKILL_* Constants



 author: Lilac Soul, editor: Jasperre