WoW:API DoTradeSkill: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
;''Example''
;''Example''
  DoTradeSkill(index, repeat);
  DoTradeSkill(index, repeat);
or
DoTradeSkill(75); - craft a mooncloth on my char (all trainer recipes only)




----
----
{{WoW API}}
{{WoW API}}

Revision as of 15:01, 29 November 2006

DoTradeSkill -Documented by shinma-

Performs the tradeskill a specified # of times


Arguments
(Number index, Number repeat)
index
The index of the tradeskill recipe
repeat
The number of times to repeat the creation of the specified recipe

Returns
nil

Example
DoTradeSkill(index, repeat);

or

DoTradeSkill(75); - craft a mooncloth on my char (all trainer recipes only)



Template:WoW API