NextCPosX

From Wiki
Revision as of 10:07, 7 September 2007 by Seg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
⇔ The #nextCPosX system variable determines the x-coordinate of where the next container/gump will open.


Note: The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for the #nextCPosX and #nextCPosY variables to work.


Example

; Open bank box at 10,10
set #nextCPosX 10
set #nextCPosY 10
msg bank$
halt

See Also

Container

  • Container system variables represent information available about the top most (or most reacent) gump that was opened, moved, or clicked in the Ultima Online Client.
#nextCPosX ⇔ Returns the x-coordinate of where the next container/gump will open
#nextCPosY ⇔ Returns the y-coordinate of where the next container/gump will open
#contSize ⇒ Returns the size of the currently selected container/gump
#contPosX ⇔ Returns the x-coordinate of the currently selected container/gump
#contPosY ⇔ Returns the y-coordinate of the currently selected container/gump
#contKind ⇒ Returns the kind of the currently selected container/gump
#contID ⇒ Returns the id of the currently selected container/gump
#contType ⇒ Returns the object type of the currently selected container/gump
#contName ⇒ Returns the name of currently selected container/gump