TalentSkill(int)

Creates a skill talent

talent TalentSkill(
    int nSkill
);

Parameters

nSkill

SKILL_*


Description

Create a Skill Talent.



Remarks

The SKILL_* constants reflect rownumbers in skills.2da


Version

1.30

Example

//Have the caller taunt the nearest non-PC

void main()
{
//Determine skill to use
talent tTaunt=TalentSkill(SKILL_TAUNT);

object oCreature=GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_NOT_PC);

ActionUseTalentOnObject(tTaunt, oCreature);
}

See Also

functions: TalentFeat | TalentSpell
categories: Talents/Skills/Feats Functions
constants: SKILL_* Constants


 author: Lilac Soul
 Send comments on this topic.