LT_entity_closest
entity LT_entity_closest(number w,number x,number y,number z)
number | w | The world ID to look for entities in |
number | x | X coordinate of location |
number | y | Y coordinate of location |
number | z | Z coordinate of location |
Gets the entity closest to the location given. Searches in the specified world for the entity closest to the location given. This function will ignore the current player's entity. If there's no entities in the world, a null will be returned.