Skip to content

GetCont

uo.dll methodMethodsNeeds client
Call GetCont index

Also searchable as: GetCont · UO.GetCont

Describes one open gump, counted from the top (0), skipping the ignored ones. Returns nil when there is no such gump.

Parameter Type Meaning
index number Position in the list, counting from 0.

In this order, from stack position 1:

Value Type Meaning
name string Gump name, as #ContName but with spaces.
x number Left edge, in pixels.
y number Top edge, in pixels.
width number In pixels.
height number In pixels.
kind number As #ContKind, as a number.
id number Item the gump belongs to; 0 for none.
type number Its type.
hp number Health in percent, for a health bar.

See also