#Interactable Item Priority

3 messages · Page 1 of 1 (latest)

subtle surge
#

I have two chests next to each other and I want to write a script on which one would get priority. How would one go about writing one that highlights the chest nearest to the player?

proper belfry
#

Do a for loop through all overlapping areas on the player

#

Find the distance from the chest to the player