Difference between revisions of "ContID"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 +
 +
The [[Var_contID|#contID]] system variable determines the id of the currently selected container/gump.
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
+
........
 +
if #contId <> %gumpid
 +
        gosub usenewtool
 +
........
  
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| Width=200px |  
+
| Width=200px | [[Var_contPosX|&#0035;contPosX]] || Width=200px | [[Var_contPosY|&#0035;contPosY]] || Width=200px | [[Var_contKind|&#0035;contKind]] || Width=200px | [[Var_contType|&#0035;contType]] 
 
|}
 
|}
 
----
 
----

Revision as of 20:49, 15 August 2005

#contID

Container System Variables

Description

The #contID system variable determines the id of the currently selected container/gump.

Example

........
if #contId <> %gumpid
        gosub usenewtool
........ 

See Also

#contPosX #contPosY #contKind #contType

Main_Page Documentation Container System Variables