WoW:API IsTradeskillTrainer: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
|||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Determine whether | Determine whether last opened trainer window offered trade skill (profession) abilities. | ||
isTradeskillTrainer = IsTradeskillTrainer(); | |||
= | |||
== Returns == | == Returns == | ||
:1 or True if the open trainer | :1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills). | ||
== Example == | == Example == | ||
if (IsTradeskillTrainer()) then | |||
message('This is a tradeskill trainer'); | |||
end | |||
Revision as of 02:16, 8 February 2009
← WoW API < IsTradeskillTrainer
Determine whether last opened trainer window offered trade skill (profession) abilities.
isTradeskillTrainer = IsTradeskillTrainer();
Returns
- 1 or True if the last open trainer skill list was for a trade skill (as opposed to class skills).
Example
if (IsTradeskillTrainer()) then message('This is a tradeskill trainer'); end