Osiris/API/CharacterHasTalent: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				mNo edit summary  | 
				||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
* '''_Bool''': '''1''' if character has '''_Talent''' and '''0''' if '''_Talent''' does not exist.  | * '''_Bool''': '''1''' if character has '''_Talent''' and '''0''' if '''_Talent''' does not exist.  | ||
===== Notes =====  | ===== Notes =====  | ||
* The valid talents can be found at [[Scripting_talent_types]].  | * The valid talents can be found at [[Scripting_talent_types|Scripting talent types]].  | ||
===== See Also =====  | ===== See Also =====  | ||
* [[Osiris/API/  | * [[Osiris/API/CharacterAddTalent|CharacterAddTalent]]  | ||
* [[Osiris/API/CharacterRemoveTalent]]  | * [[Osiris/API/CharacterRemoveTalent|CharacterRemoveTalent]]  | ||
* [[Osiris/API/CharacterUnlockedTalent|CharacterUnlockedTalent]]  | |||
* [[Osiris/API/CharacterLockedTalent|CharacterLockedTalent]]  | |||
[[Category:Osiris Queries]]  | [[Category:Osiris Queries|CharacterHasTalent]]  | ||
Latest revision as of 14:22, 19 December 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
- The valid talents can be found at Scripting talent types.