Module CMDTYPE
Command type constants
See also:
Tables
- CMDTYPE
- Note, the CMDTYPE[] table is bidirectional.
Tables
CMDTYPE
Note, the CMDTYPE[] table is bidirectional.
That means: CMDTYPE[CMDTYPE.ICON] := "CMDTYPE_ICON"
Fields:
-
ICON
number expect 0 parameters in return -
ICON_MODE
number expect 1 parameter in return (number selected mode) -
ICON_MAP
number expect 3 parameters in return (mappos) -
ICON_AREA
number expect 4 parameters in return (mappos+radius) -
ICON_UNIT
number expect 1 parameters in return (unitid) -
ICON_UNIT_OR_MAP
number expect 1 parameters in return (unitid) or 3 parameters in return (mappos) -
ICON_FRONT
number expect 3 or 6 parameters in return (middle and right side of front if a front was defined) -
COMBO_BOX
number expect 1 parameter in return (number selected option) -
ICON_UNIT_OR_AREA
number expect 1 parameter in return (unitid) or 4 parameters in return (mappos+radius) -
ICON_UNIT_FEATURE_OR_AREA
number expect 1 parameter in return (unitid or Game.maxUnits+featureid) or 4 parameters in return (mappos+radius) -
ICON_BUILDING
number expect 3 parameters in return (mappos) -
ICON_UNIT_OR_RECTANGLE
number expect 1 parameter in return (unitid) or 3 parameters in return (mappos) or 6 parameters in return (startpos+endpos) -
NUMBER
number expect 1 parameter in return (number) -
CUSTOM
number used with CMD_INTERNAL -
NEXT
number next command page used with CMD_INTERNAL -
PREV
number previous command page used with CMD_INTERNAL