TalentSpell

From NWN Lexicon



Contents

[edit] TalentSpell(int)

Creates a spell talent

talent TalentSpell(
    int nSpell
);

[edit] Parameters

nSpell

SPELL_*


[edit] Description

Create a Spell Talent.

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



[edit] Remarks

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


[edit] 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.


[edit] Version

1.30

[edit] Example

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

[edit] See Also

functions: 

TalentSkill

constants: 

SPELL_* Constants



 author: Lilac Soul, editor: Jasperre
 

Personal tools
Categories