Skip to content

#GumpObjID

VariableGumpsRead-onlyIDNeeds clientNew in Reforged
Set by
ScanGumps

Also searchable as: #GumpObjID · GumpObjID · gump object · gump container

#GumpObjID is the ID of the object the window selected by #GumpIndex belongs to, in the usual EUO format, as #ContID gives it for the gump on top: the container of a container window, the character of a paperdoll or status bar, the spellbook of a spellbook window.

Reads N/A for a window that belongs to no object (the skills window, the buff bar, the gumps the server sends). Reads N/A when no gump is selected: none is open, ScanGumps has not run, or #GumpIndex is past #GumpCnt.

scangumps
for #GumpIndex 1 #GumpCnt
if #GumpObjID = #BackpackID
event sysmessage The backpack is open at #GumpPosX #GumpPosY
halt

See also