Difference between revisions of "ContType"

From Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
{{ro}}
 
{{ro}}
 +
 +
The [[Var_contType|#contType]] system variable determines the object type of the currently selected container/gump.
  
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
 
+
....
 +
if #contType <> %trashbarreltype
 +
      gosub opentrash
 +
....
  
 
</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_contID|&#0035;contID]]
 
|}
 
|}
 
----
 
----

Revision as of 20:53, 15 August 2005

#contType

Container System Variables

Description

The #contType system variable determines the object type of the currently selected container/gump.

Example

....
if #contType <> %trashbarreltype
       gosub opentrash
....

See Also

#contPosX #contPosY #contKind #contID

Main_Page Documentation Container System Variables