Difference between revisions of "NextCPosX"
From Wiki
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{header|container|rw|The #nextCPosX system variable determines the x-coordinate of where the next container/gump will open.}} | {{header|container|rw|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.}} | {{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 ==== | ==== Example ==== | ||
| Line 12: | Line 14: | ||
</pre> | </pre> | ||
| − | {{ | + | =See Also= |
| + | {{Container}} | ||
Latest revision as of 09:07, 7 September 2007
| ⇔ | 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 |