WoW:API IsTalentTrainer: Difference between revisions

m
Move page script moved page API IsTalentTrainer to WoW:API IsTalentTrainer without leaving a redirect
(New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns 1 if target is a trainer for talents. == Arguments == <!-- ...)
 
m (Move page script moved page API IsTalentTrainer to WoW:API IsTalentTrainer without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
 
{{removedapi|&le; 3.1.3}}
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Indicates whether target can train talents.
Indicates whether target can train talents.
Line 16: Line 16:


== Example ==
== Example ==
  -- Added by [[User:FormlessOne|FormlessOne]]
   if (IsTalentTrainer()) then  
   if (IsTalentTrainer()) then  
       DEFAULT_CHAT_FRAME:AddMessage("Target is a talent trainer.")
       DEFAULT_CHAT_FRAME:AddMessage("Target is a talent trainer.")
Anonymous user