get_closest_object(obj_name, obj_list)

Parameters:
obj_name (string) the object around which you're searching
obj_list (table of strings) the list of objects within which you want to search.
 
Returns:
(string) the name of the nearest object

Description:
Gets the closest object from a list of objects.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15