WoW:API IsTradeskillTrainer: Difference between revisions
Jump to navigation
Jump to search
m (Move page script moved page API IsTradeskillTrainer to API IsTradeskillTrainer without leaving a redirect) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Determine whether | {{wowapi}} | ||
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 | |||
Latest revision as of 04:46, 15 August 2023
← 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