ActionUseTalentOnObject(talent, object)
From NWN Lexicon
Use tChosenTalent on oTarget.
void ActionUseTalentOnObject( talent tChosenTalent, object oTarget );
Contents |
[edit] Parameters
- tChosenTalent
- Talent to use.
- oTarget
- The object one which to use the talent
[edit] Description
Use tChosenTalent on oTarget.
[edit] Version
1.61
[edit] 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); }
[edit] See Also
functions: | ActionUseTalentAtLocation |
author: Ryan Hunt, editor: Lilac Soul