#[Resolved]Chat Screen

1 messages · Page 1 of 1 (latest)

fading vale
#

Is mika really cute?
anyways...

try to remove the source_control_name from the first binding and read #text directly
also use binding_type: "global" or pass the value via $_flag property inheritance (iirc) so child labels can access it

in case, this is the code. might not work because I didnt test it nor play McBe since for a year but lets just pray

#
{
  "[email protected]_box_slot": {
    "$_flag": "§h§o§v§i§7",
    "bindings": [
      {
        "binding_type": "view",
        "source_property_name": "#text",
        "target_property_name": "#raw_text"
      },
      {
        "binding_type": "view",
        "source_property_name": "(#raw_text - '§h§o§v§i§7')",
        "target_property_name": "#data"
      },
      {
        "binding_type": "view",
        "source_property_name": "(('%.20s' * (#data - ('%.0s' * #data))) - '\t')",
        "target_property_name": "#money"
      },
      {
        "binding_type": "view",
        "source_property_name": "(('%.20s' * (#data - ('%.20s' * #data))) - '\t')",
        "target_property_name": "#gold"
      },
      {
        "binding_type": "view",
        "source_property_name": "(('%.20s' * (#data - ('%.40s' * #data))) - '\t')",
        "target_property_name": "#exp"
      },
      {
        "binding_type": "view",
        "source_property_name": "('§eMoney: §f' + #money + '\n§6Gold: §f' + #gold + '\n§aExp: §f' + #exp)",
        "target_property_name": "#hover_text_computed"
      }
    ],
    "controls": [
      {
        "[email protected]_text": {
          "layer": 29,
          "property_bag": {
            "#hover_text": ""
          },
          "bindings": [
            {
              "binding_type": "view",
              "source_control_name": "tooltip_box_slot_stat",
              "source_property_name": "#hover_text_computed",
              "target_property_name": "#hover_text"
            }
          ]
        }
      }
    ]
  }
}
#

oh yeah, I use 2-tabs, if you prefer 4-Tabs or spaces (or whatever) just format it

silent marsh
#

This might actually work. All the messages pass data using the #text binding. No source control name or binding name required

covert shell
fading vale
silent marsh
#

Instead of getting data from the text box

covert shell
#

I think so.

silent marsh
#

Can you send the code for the messages_text in a file?

#

It's hard to read when it's not formatted

covert shell
#

I sent the file to you in DM.