#how do i fix my jsom ui?

1 messages · Page 1 of 1 (latest)

rough obsidian
#
"hud_actionbar_text": {
    "type": "image",
    "size": [ "100%c + 12px", "100%c + 5px" ],
    "offset": [ 0, "50%-68px" ],
    "texture": "textures/ui/hud_tip_text_background",
    "alpha": "@hud.anim_actionbar_text_background_alpha_out",
    "controls": [
      {
        "actionbar_message": {
          "type": "label",
          "anchor_from": "center",
          "anchor_to": "center",
          "color": "$tool_tip_text",
          "layer": 31,
          "text": "$actionbar_text",
          "localize": false,
          "alpha": "@hud.anim_actionbar_text_alpha_out"
        }
      }
    ]
  },

  "hud_round_bar": {
    "bindings": [
      {
        "binding_name": "(query.score_round_show == 1)",
        "binding_name_override": "#visible"
      }
    ],
    "type": "image",
    "anchor_from": "bottom_left",
    "anchor_to": "bottom_left",
    "offset": [
      4,
      -10
    ],
    "size": [
      "100%c + 12px",
      "100%c + 5px"
    ],
    "texture": "textures/ui/hud_tip_text_background",
    "alpha": "@hud.anim_actionbar_text_background_alpha_out",
    "controls": [
      {
        "actionbar_message": {
          "type": "label",
          "anchor_from": "left_middle",
          "offset": [
            8,
            0
          ],
          "anchor_to": "left_middle",
          "text_alignment": "left",
          "color": "$tool_tip_text",
          "layer": 31,
          "text": "$actionbar_text",
          "localize": false,
          "alpha": "@hud.anim_actionbar_text_alpha_out"
        }
      }
    ]
  },
#

basically im trying to make 2 actionbars: one normal, and the other always showing in the bottom-left IF your "round_show" score is 1