Tracking coding help

Ok so i need to know if its possible to code where if a player is within 10 blocks of another player it will transmit on a channel and if so what would the code be?

1 Like

This does mention showing who is closest to you, so you could perhaps fine tune it to your liking.

3 Likes

Yes, this should work. You should change the code in the “Calculate distance” block to check if the variable “Distance” is ≤ 10 and have it broadcast on your channel. You won’t need to set the properties in the block anymore. You will also need to remove the “Game Overlay” and replace the “Show closest player” broadcast in the “Check players” block with “Check players prep”.

2 Likes

Basically making a better tag zone…

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.