#activate some component with title text and deactivate it with another title text

1 messages · Page 1 of 1 (latest)

plucky grotto
#

As the title indicates, I want to activate a jsonUI element with one title text and deactivate it with another. I have already managed to activate the element with a title text, but when using any other title text, the element disappears, so to avoid incompatibility with other addons, I want to only make it deactivate with another specific title text

timber panther
plucky grotto
plucky grotto
#

aah I did it using this
#1103977810462257253 message

plucky grotto
#

Hello again @timber panther , sorry for ping, but I need help, I figured out this, but there is one problem, when two titles execute at the same time are overwritten, only one of them work, do you know how to fix this?

#

is using actionbar o subtitle, the only option?

timber panther
#

remove the '' around #hud_title_text_string

timber panther
plucky grotto
timber panther
plucky grotto
plucky grotto
timber panther
plucky grotto
# timber panther did you try this though?

Im using this

                            "bindings": [
                                {
                                    "binding_type": "view",
                                    "source_control_name": "data_control",
                                    "source_property_name": "#title_data",
                                    "target_property_name": "#title_data_control"
                                },
                                {
                                    "binding_type": "view",
                                    "source_property_name": "('%.17s' * #title_data_control = 'bardiche_cooldown')",
                                    "target_property_name": "#visible"
                                }
                              ]```
plucky grotto
timber panther
#

send whole file

plucky grotto
timber panther
#

title commands executed within the same tick are ignored, add a delay

#

or use a different method of rendering them

plucky grotto
# plucky grotto look

This gives me problems because the titles run constantly when they load a cooldown or mana and sometimes they get stuck because they are played at the same time

plucky grotto
#

everything is executed from the functions

timber panther
#

You can use this sort of method to display it

timber panther
#

or entity animation

plucky grotto
#

thank you again!

flat swift
timber panther
plucky grotto
obsidian igloo
#

Hm can we make json decoder in this

obsidian igloo
timber panther
#

what?

obsidian igloo
#

I mean enter to title json string and then decide and use in ui