<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>Find_Distance</title>
    <category>Objects</category>
    <subcat>Search</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>array</rtype>
      <params>
        <param>
          <type>int</type>
          <name>radius</name>
          <desc>Maximum object distance.</desc>
        </param>
        <param>
          <type>int</type>
          <name>x</name>
          <desc>Distance reference point. In local calls, relative to the calling object.</desc>
          <optional />
        </param>
        <param>
          <type>int</type>
          <name>y</name>
          <desc>Distance reference point. In local calls, relative to the calling object.</desc>
          <optional />
        </param>
      </params>
    </syntax>
    <desc>Search criterion: finds all objects within the specified maximum distance from the specified coordinates. If no coordinates are specified, the position of the calling object is used.</desc>
    <remark>For additional information on the use of this function see <funclink>FindObjects</funclink>.</remark>
    <related><funclink>FindObjects</funclink></related>
  </func>
  <author>PeterW</author><date>2006-10</date>
</funcs>
