Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
 
No edit summary
Line 30: Line 30:
   
 
----
 
----
{{Template:WoW API}}
+
{{WoW API}}
 
[[Category:API TradeSkill Functions|GetTradeskillSelectionIndex]]
 

Revision as of 05:51, 4 January 2006

GetTradeSkillSelectionIndex -Documentation by Xharze-

Sets the subclass filter.

SetTradeSkillSubClassFilter(slotIndex, onOff{, exclusive});

Arguments
Number slotIndex, Number onOff, Number exclusive
slotIndex
The index of the specific slot
onOff
On = 1, Off = 0
exclusive(Optional)
Sets if the slot is the only slot to be selected. If not set it's handled as Off. On = 1, Off = 0

Returns
nil

Example

Sets the filter to select slotIndex 3 and 5. First slotIndex have to be exclusive enabled.

SetTradeSkillSubClassFilter(3, 1, 1);
SetTradeSkillSubClassFilter(5, 1);



Template:WoW API