GHI_GetItemInfo

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

GHI_GetItemInfo(itemGuid)

Arguments:

GHI_GetItemInfo(itemGuid) has 1 required argument.

itemGuid
''String''
The GUID of the item you wish to find cooldown of.

Returns:

Name
''String''
The item's name.
Icon
''String''
The item's icon path.
Quality
''Number''
The Quality of the item, 0 being grey, 1 being white, etc.
Stack Size
''Number''
maximum stack size of an item.

Example:

local name, icon, quality, stacksize = GHI_GetItemInfo(stack.GetItemGuid())

print( name,icon,quality, stacksize)

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.