SetTradeSkillInvSlotFilter

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Set the inventory slot type filter.

SetTradeSkillInvSlotFilter(slotIndex, onOff{, exclusive} )

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

Returns
nil

Example

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

SetTradeSkillInvSlotFilter(3, 1, 1);
SetTradeSkillInvSlotFilter(5, 1);

See Also

GetTradeSkillInvSlotFilter