GetItemCreatorName

From ESOUI Wiki

Jump to: navigation, search

Returns the name of the player-character who crafted the item in a particular bag slot. If the item was not crafted by a player, or if there is no item in that slot, then this function returns an empty string.

Arguments

bagId
A number representing the bag to check; it must be one of the built-in Bag values.
slotIndex
The numeric index of the slot in that bag which should be checked. For most bags, this is a number ranging from 1 to the size of the bag.

Syntax

-- GIVEN:
-- number bagIndex
-- number slotIndex
--
-- RETURNS: string
local creatorName = GetItemCreatorName(bagIndex, slotIndex)
if creatorName == "" then
   d("This item wasn't crafted by a player.")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox