Osiris/API/CharacterHasTalent
From Divinity Engine Wiki
Full Definition(s)
- query CharacterHasTalent([in](CHARACTERGUID)_Character, [in](STRING)_Talent, [out](INTEGER)__Bool)
Description
Returns 1 if the character has _Talent and 0 if they do not.
Return Values
- Success/Failure: Fails if _Character does not exist.
- _Bool: 1 if character has _Talent and 0 if _Talent does not exist.
Notes
- The valid talents can be found at Scripting_talent_types.