GHI_DisplayAttributeAndInstanceInfo

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_DisplayAttributeAndInstanceInfo(containerGuid, containerSlot)

Arguments:

GHI_DisplayAttributeAndInstanceInfo() has 2 required arguments.

containerGuid
''String''
The GUID of the container the item you wish to query is in.
containerSlot
''Number''
The slot number of the item you wish to query, within the bag stated before.

Example:

local item = stack.GetItemGuid()

local bag,slot = GHI_FindOneItem(item)

GHI_DisplayAttributeAndInstanceInfo(bag,slot)

This script opens the attribute editing window for the item.