Closed HenryRenYz closed 3 years ago
loop all entities:
broadcast placeholder "objective_score_buff-cursed_%uuid of loop_entity%" from loop-entity
That should work? If you’re still having issues let me know 🙂
loop all entities: broadcast placeholder "objective_score_buff-cursed_%uuid of loop_entity%" from loop-entity
That should work? If you’re still having issues let me know 🙂
Can't understand this expression: uuid of loop_entity (custom_buff.sk, line 20: broadcast placeholder "objective_scorebuff-cursed%uuid of loop_entity%" from loop-entity') This doesn't seem to work :d
Oops that was my typo!
"loop_entity" should be "loop-entity"
"broadcast placeholder "objective_scorebuff-cursed%uuid of loop-entity%" from loop-entity"
the only text it prints out is "0", which is same result when you fill the
I’m not entirely sure then
Anyway, thanks for your responding!
version: 1.4
Description
Is there a way to get the scoreboard points of loop-entities? PAPI scoreboard extension provides something like %objective_score_buff-cursed_12345678-abcd-1234-abcd-123456789abc% which allows you to get the scoreboard points of an entity with UUID 12345678-abcd-1234-abcd-123456789abc But what can I do if I want to insert loop-entities' UUID into it like %objective_scorebuff-cursed%uuid of loop-entity%%(probably doesn't work) Code:
every 5 seconds: loop all entities: broadcast "%placeholder ""objective_scorebuff-cursed{uuid of loop_entity}"" from loop-entity%" set {_buff-cursed} to placeholder "objective_scorebuff-cursed%uuid of loop_entity%" from loop-entity parsed as number