Wikia

WoWWiki

Changes: API IsTradeskillTrainer

Edit

Back to page

(Describe behavior as of 3.0.8 (likely prior patches as well))
(Returns)
 
Line 5: Line 5:
   
 
== Returns ==
 
== Returns ==
:1 or True if the last open trainer skill list was for a tradeskill (as opposed to class skills).
+
:1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).
   
 
== Example ==
 
== Example ==

Latest revision as of 02:16, February 8, 2009

WoW API < IsTradeskillTrainer

Determine whether last opened trainer window offered trade skill (profession) abilities.

isTradeskillTrainer = IsTradeskillTrainer();

Returns Edit

1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).

Example Edit

if (IsTradeskillTrainer()) then
 message('This is a tradeskill trainer');		
end

Around Wikia's network

Random Wiki