#Get closest player
11 messages · Page 1 of 1 (latest)
to position is just more flexible
Player Variable that is Synced, 2 Distances, a Less Than, an If, an Is Valid and an If Value
Check if the Variable is valid, if not, Else of the if Value is the first player in the room.
If true, fire the current Closest Player from the Player Variable.
Check the Distance between the Object and Local Player.
Check the Distance between the Object and If Value result.
If the Local Player Distance is Less Than the Closest Player Distance, set the Local Player to the Player Variable (Closest Player).
@prime umbra
Its asked alot so made my own invention ¯_(ツ)_/¯
Aren’t we literally getting a chip that does this
This isn’t quite an answer but in the Jan update (coming next year) they’re adding get closest and get farthest chips so hopefully soon we won’t need this
Wait mb didn’t read this lmao