Hi,
I'm sorry if I'm overposting, but how can I detect the nearest entity to a location/entity? Is there like a "nearest" expression? I've done some research and I saw a few people using that, but it didn't work for me. If there isn't, what would be the best way of doing so? I've tried coding it manually but the moment I thought of using multi-dimensional arrays (which to me seems to be the most logical way), I realized that Skript doesn't have such things. At least as far as I know.
I'm sorry if I'm overposting, but how can I detect the nearest entity to a location/entity? Is there like a "nearest" expression? I've done some research and I saw a few people using that, but it didn't work for me. If there isn't, what would be the best way of doing so? I've tried coding it manually but the moment I thought of using multi-dimensional arrays (which to me seems to be the most logical way), I realized that Skript doesn't have such things. At least as far as I know.