Difference between revisions of "ContID"
From Wiki
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|container|ro|The #contID system variable determines the id of the currently selected container/gump.}} | |
| − | + | ||
| − | + | ||
| − | + | {{contNote}} | |
| − | {{ | + | |
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
| − | + | ........ | |
| + | if #contId <> %gumpid | ||
| + | gosub usenewtool | ||
| + | ........ | ||
</pre> | </pre> | ||
| − | + | =See Also= | |
| − | { | + | {{Container}} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
Latest revision as of 09:08, 7 September 2007
| ⇒ | The #contID system variable determines the id of the currently selected container/gump. |
| Note: | EasyUO currently only holds information in the #cont* on the "top most" gump. This means that the last gump that was opened or moved in any way is what EUO is reporting. |
Example
........
if #contId <> %gumpid
gosub usenewtool
........
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 |