#(Niklas) Define players with flag in a radius of 10 blocks

27 messages · Page 1 of 1 (latest)

trim fiber
#

Hey. I want to define a player which has a flag in a radius of 10 blocks. This was my first try:

    - define durchsuchender <player.location.find.online_players_flagged[flag].within[10]>```
willow edgeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

trim fiber
#

My second idea was:


    - define durchsuchender <player.location.find[flagged:flag].within[10]>```
#

or do I need to use the entities thing here?

    - define durchsuchender <player.location.find_entities[flagged:flag].within[10]>```
grim lance
#

Id recommend find_players_within if you want players only

trim fiber
#

But how Do i add a Flag them

grim lance
#

Basically for each player in that list, you flag them with a flag

#

Individually

white rapids
trim fiber
#

Find players with a flag

white rapids
#

!t find_entities.within

drowsy ruinBOT
white rapids
#

With the player_flagged matcher

trim fiber
#

thx

willow rainBOT
#
Resolved

Thread closed as resolved.

trim fiber
#

reopen

tribal cedarBOT
willow rainBOT
#
Thread Reopened

Thread was manually reopened by @trim fiber.