#Update Custom bars[resolved]
1 messages · Page 1 of 1 (latest)
Ignore this file, this works fine when using actionbar
Anyway , can someone help me please? c':
Or at least use a type of preserved chat text and not title or actiombar
Because the problem using title is that one or both bars will no update , or is there another way to update them both ??
Or can someone tell me how to upload 2 bars at same time with title ?
https://wiki.bedrock.dev/json-ui/preserve-title-texts
Use two different $update_string for two bars
I mean, Ik how to use update strings , but, the problem is that when trying to uploading with one title one bar just uploads, the other one doesnt upload, so thats why i need to know how to upload them at the same time with a single title
Oh, it's easy if you're just passing numbers through the title text (excluding update string)
What are you passing through the title?
Just numbers, buuut, Making something like
"stamina:1, health:27" doesnt work , i think just detects stamina
Do something like this
"(update string):1, 27"
Then you can separate the numbers and use it in different bars
Ok, i tried
"/title @s title stamina:20,hs:20"
And it didnt work
Kinda hard to me cuz Im new in this
Dammm, Thanks :D.
No problem
Update Custom bars[resolved]
Yo @hard pollen ,sorry if im bothering u but, I need some lil of help, im trying to make a "vigor bar", when im trying to apply the number, but it resets to 0 Automatically
@glacial nacelle can you send some screenshots. I don't get what exactly you mean
This, 300 is the number for the blue bar
Ooh wait forget about im, I forgot to check one script file, My bad
Now it works
Great then
Hi @hard pollen i need a lil bit of help here .
You see, i tried to make 2 bare more called vigor and humeshield.
So i have some issues with this two. When the health bar decreases, this 2 bars resets completely and they dont work anymore. Theres a way to make this... Less repetitive? (pls ignore the "%" thing, i was experimenting)
Cuz i made the same thing with humeshield : "#text - (":" + #health + ", " + #stamina +", " + #vigor +", ")"
You have to continue in the same way for as many numbers you have in your preserved text
Ik, but the problem is, when I used this method , for some reason vigor and humeshield doesnt work when health changes of value
This should not happen if everything's right