Difference between revisions of "NextCPosX"

From Wiki
Jump to: navigation, search
(Description)
 
(4 intermediate revisions by 2 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 ===
+
{{rw}}
+
  
The [[Var_nextCPosX|#nextCPosX]] system variable determines the x-coordinate of where the next container/gump will open.
 
  
''Note
+
{{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.}}
The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for this to work.''
+
 
  
 
==== Example ====
 
==== Example ====
Line 19: Line 14:
  
 
</pre>
 
</pre>
==== See Also ====
+
=See Also=
{|
+
{{Container}}
| Width=200px | [[Var_nextCPosY|&#0035;nextCPosY]] || Width=200px | [[contPos|contPos]]|| Width=200px | [[nextCPos|nextCPos]] 
+
|}
+
 
+
----
+
{|
+
| 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