Difference between revisions of "ContID"
From Wiki
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{header|container|ro|The #contID system variable determines the id of the currently selected container/gump.}} | {{header|container|ro|The #contID system variable determines the id of the currently selected container/gump.}} | ||
| + | |||
| + | |||
| + | {{contNote}} | ||
| + | |||
==== Example ==== | ==== Example ==== | ||
| Line 9: | Line 13: | ||
</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 |