User:Sunjammer/method: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created)  | 
				m (Adding sample categories)  | 
				||
| Line 28: | Line 28: | ||
* [[Osiris/API/CharacterUnlockedTalent|CharacterUnlockedTalent]]  | * [[Osiris/API/CharacterUnlockedTalent|CharacterUnlockedTalent]]  | ||
* [[Osiris/API/CharacterLockedTalent|CharacterLockedTalent]]  | * [[Osiris/API/CharacterLockedTalent|CharacterLockedTalent]]  | ||
[[Category:Character queries]]  | |||
[[Category:Talent queries]]  | |||
Revision as of 04:46, 19 November 2017
Returns 1 if a character has a particular _Talent and 0 if they do not.
query CharacterHasTalent (
[in](CHARACTERGUID)_Character ,[in](STRING)_Talent ,[out](INTEGER)_Bool )
- Parameters:
 - _Character
 - the GUID of the character to be checked
 - _Talent
 - the name of the talent to check for
 - _Bool
 - the result (0 or 1)
 
- Returns:
 - 1 if the character has _Talent, or 0
 
Notes
- Fails if _Character does not exist.
 - The valid talents can be found at scripting talent types.