FindFirstEmptySlotInBag

From ESOUI Wiki

Jump to: navigation, search

This function returns the index of the first empty bag slot in the specified bag. If the specified bag is full, then this function returns nil.

Contents

Arguments

bagId
A number representing the bag to check; it must be one of the built-in Bag values.

Syntax

-- GIVEN:
-- number bagIndex
--
-- RETURNS: number
local slotIndex = FindFirstEmptySlotInBag(BAG_BACKPACK)

Notes

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox