Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

API GetNumLootItems

From WoWWiki

Jump to: navigation, search
Main Menu


Returns the slot number of the last item in the loot window (the item window must be opened).

Would return the number of items right when the window is opened. If, for instance, the first item is looted, the function would still return the same number as before. Looting the last item would make the function return one less than the original amount.

GetNumLootItems();

Arguments
none

Example
numLootItems = GetNumLootItems();

Returns
number

Description
Returns the slot number of the last item in the loot window (the item window must be opened). So it may be superior to the number of items remaining, if one or more items have already been taken.
Rate this article:
Share this article: