Difference between revisions of "NextCPosX"

From Wiki
Jump to: navigation, search
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{header|container|rw|The #nextCPosX system variable determines the x-coordinate of where the next container/gump will open.}}
== #nextCPosX ==
+
 
'''Container System Variables'''
+
 
=== Description ===
+
{{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.}}
{{rw}}
+
 
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
+
; Open bank box at 10,10
 +
set #nextCPosX 10
 +
set #nextCPosY 10
 +
msg bank$
 +
halt
  
 
</pre>
 
</pre>
==== See Also ====
+
=See Also=
{|
+
{{Container}}
| Width=200px |
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Container|Container System Variables]]
+
|}
+

Latest revision as of 10: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