Gump Command List


A short compilation of available gump commands.


 
  • NoClose
  • NoDispose
  • NoMove
  • Group
  • Page
  •  
  • Button
  • ButtonTileArt
  • CheckBox
  • CheckerTrans
  • CroppedText
  • GumpPic
  • GumpPicTiled
  • HtmlGump
  • Radio
  • ResizePic
  • Text
  • TextEntry
  • TextEntryLimited
  • TilePic
  • TilePicHue
  • Tooltip
  • XmfHtmlGump
  • XmfHtmlGumpColor
  • XmfHtmlTok
  •  




    CmdName: NoClose
    Client introduced: -
    Description: Prevents that the gump can be closed by right clicking.
    CmdName: NoDispose
    Client introduced: -
    Description: Prevents that the gump can be closed by hitting Esc. Be carefull if you allow it, there may occur problems.
    CmdName: NoMove
    Client introduced: -
    Description: Locks the gump in his position. Movement is not allowed.
    CmdName: Group [Number]
    Client introduced: -
    Description: Links radio buttons to a group. Add this before radiobuttons to do so. Seems only to work on page 0 and 1.
    CmdName: Page [Number]
    Client introduced: -
    Description: Specifies which page to define. Page 0 is the background thus always visible.
    CmdName: Button [x] [y] [released-id] [pressed-id] [quit] [page-id] [return-value]
    Client introduced: -
    Description: Adds a button to the gump with the specified coordinates and button graphics. [released-id] and [pressed-id] specify the buttongraphic. If pressed check for [return-value]. Use [page-id] to switch between pages and [quit]=1/0 to close the gump.
    CmdName: ButtonTileArt [x] [y] [released-id] [pressed-id] [quit] [page-id] [return-value] [tilepic-id] [hue] [tile-x] [tile-y]
    Client introduced: between 4.0.4d and 5.0.2b
    Description: Adds a button to the gump with the specified coordinates and tilepic as graphic. [tile-x] and [tile-y] define the coordinates of the tile graphic and are relative to [x] and [y].
    CmdName: CheckBox [x] [y] [released-id] [pressed-id] [status] [return-value]
    Client introduced: -
    Description: Adds a CheckBox to the gump. Multiple CheckBoxes can be pressed at the same time. Check the [return-value] if you want to know which CheckBoxes were selected.
    CmdName: CheckerTrans [x] [y] [width] [height]
    Client introduced: -
    Description: Creates a transparent rectangle on position [x,y] using [width] and [height].
    CmdName: CroppedText [x] [y] [width] [height] [color] [text-id]
    Client introduced: -
    Description: Adds a text field to the gump. This is similar to the text command, but the text is cropped to the defined area.
    CmdName: GumpPic [x] [y] [id] hue=[color]
    Client introduced: -
    Description: Adds a graphic to the gump, where [id] ist the graphic id of an item. For example use InsideUO to get them. Optionaly there is a color parameter.
    CmdName: GumpPicTiled [x] [y] [height] [width] [id]
    Client introduced: between 2.0.0g and 3.0.5d
    Description: Similar to GumpPic, but the gumppic is tiled to the given [height] and [width].
    CmdName: HtmlGump [x] [y] [width] [height] [text-id] [background] [scrollbar]
    Client introduced: -
    Description: Defines a text-area where Html-commands are allowed. [background] and [scrollbar] can be 0 or 1 and define whether the background is transparent and a scrollbar s displayed.
    CmdName: Radio [x] [y] [released-id] [pressed-id] [status] [return-value]
    Client introduced: -
    Description: Same as Checkbox, but only one Radiobutton can be pressed at the same time, except they are per linked via the 'Group' command.
    CmdName: ResizePic [x] [y] [gump-id] [width] [height]
    Client introduced: -
    Description: Similar to GumpPic but the pic is automatically resized to the given [width] and [height].
    CmdName: Text [x] [y] [color] [text-id]
    Client introduced: -
    Description: Defines the position and color of a text (data) entry.
    CmdName: TextEntry [x] [y] [width] [height] [color] [return-value] [default-text-id]
    Client introduced: -
    Description: Defines an area where the [default-text-id] is displayed. The player can modify this data. To get this data check the [return-value].
    CmdName: TextEntryLimited [x] [y] [width] [height] [color] [return-value] [default-text-id] [textlen]
    Client introduced: between 4.0.4d and 5.0.2b
    Description: Similar to TextEntry but you can specify via [textlen] the maximum of characters the player can type in.
    CmdName: TilePic [x] [y] [id]
    Client introduced: -
    Description: Adds a Tilepicture to the gump. [id] defines the tile graphic-id. For example use InsideUO to get them.
    CmdName: TilePicHue [x] [y] [id] [hue]
    Client introduced: between 4.0.4d and 5.0.2b
    Description: Similar to the tilepic command, but with an additional hue parameter.
    CmdName: Tooltip [cliloc-nr]
    Client introduced: between 3.0.5d and 4.0.3d
    Description: Adds to the previous layoutarray entry a Tooltip with the in [cliloc-nr] defined CliLoc entry.
    CmdName: XmfHtmlGump [x] [y] [width] [height] [cliloc-nr] [background] [scrollbar]
    Client introduced: between 2.0.0g and 3.0.5d
    Description: Similar to the htmlgump command, but in place of the [text-id] a CliLoc entry is used.
    CmdName: XmfHtmlGumpColor [x] [y] [width] [height] [cliloc-nr] [background] [scrollbar] [color]
    Client introduced: between 2.0.0g and 3.0.5d
    Description: Similar to the xmfhtmlgump command, but additionally a [color] can be specified.
    CmdName: XmfHtmlTok [x] [y] [width] [height] [background] [scrollbar] [color] [cliloc-nr] @[arguments]@
    Client introduced: between 4.0.4d and 5.0.2b
    Description: Similar to xmfhtmlgumpcolor command, but the parameter order is different and an additionally [argument] entry enclosed with @'s can be used. With this you can specify texts that will be added to the CliLoc entry.
    Copyright ©2006 Turley