API LootSlot
Talk0
98,480pages on
this wiki
this wiki
This will attempt to loot the specified slot. If you must confirm that you want to loot the slot (BoP, loot rolls, etc), then a follow-up call to ConfirmLootSlot is needed.
LootSlot(slot)
Parameters
Edit
Arguments
Edit
- (slot)
- slot
- number - the loot slot.
Returns
Edit
- unknown
Example
Edit
LootSlot(1)
if slot 1 contains an item that must be confirmed, then
ConfirmLootSlot(1)
must be called after.
Result
Edit
- This function is called whenever a LootButton is clicked (or auto looted).