#Boss bar

1 messages · Page 1 of 1 (latest)

flat locust
#

if you're using skbee, just get the bossbars of the player and see if the list contains the one you're looking for

glass dew
#

I cant find anything usefull for that

flat locust
#

you're using skbee bossbars - right?
just use the doc i provided above

glass dew
#

this docs doesnt help me

flat locust
#

broadcast the player's bossbars
see what they have
add the one you want to a condition (like if player's bossbars contains ...)

flat locust
#

that's not how bossbars work
skbee bossbars use bossbar id's, so use bossbar with id ... instead of just comparing the string

glass dew
#

can you maybe please give me a full sentence with "if" and "boss bar" ?

flat locust
#

combine the condition from above - compare a list and the bossbar id and you'll get the following:
if bossbars of player contains bossbar with id "test":

#

or just check the bossbar variable directly

glass dew
flat locust
#

when you create the bossbar, you can set it to a variable
using this, you can check the variable instead of checking the id
(both methods would work)
example:

set {bar1::%player%} to bossbar ...
if bossbars of player contains {bar1::%player%}:
glass dew
flat locust
#

i don't believe so
skbee bossbars work separately and are not added to the bossbar list iirc
test my theory by using the following effect commands:
!broadcast bossbars of player
!broadcast all bossbars
if your combatlogx bossbar is not listed using those effect commands, you cannot detect/use it within skript/skbee

glass dew
#

k thanks

glass dew