#Get closest player

11 messages · Page 1 of 1 (latest)

zenith plover
zenith plover
rocky hawk
#

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

zenith plover
#

Its asked alot so made my own invention ¯_(ツ)_/¯

nocturne spruce
#

Aren’t we literally getting a chip that does this

hybrid iris
#

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

hybrid iris