Difference between revisions of "Osiris/API/CharacterHasTalent"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 9: Line 9:
 
* The valid talents can be found at [[Scripting_talent_types]].
 
* The valid talents can be found at [[Scripting_talent_types]].
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/CharacterAddTalent]]
+
* [[Osiris/API/CharacterAddTalent|CharacterAddTalent]]
* [[Osiris/API/CharacterRemoveTalent]]
+
* [[Osiris/API/CharacterRemoveTalent|CharacterRemoveTalent]]
* [[Osiris/API/CharacterUnlockedTalent]]
+
* [[Osiris/API/CharacterUnlockedTalent|CharacterUnlockedTalent]]
* [[Osiris/API/CharacterLockedTalent]]
+
* [[Osiris/API/CharacterLockedTalent|CharacterLockedTalent]]
 
    
 
    
 
[[Category:Osiris Queries]]
 
[[Category:Osiris Queries]]

Revision as of 21:02, 16 November 2017

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
See Also