<?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>GetWind</title>
    <category>Environment</category>
    <subcat>Weather</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>int</rtype>
      <params>
        <param>
          <type>int</type>
          <name>x</name>
          <desc>X position</desc>
        </param>
        <param>
          <type>int</type>
          <name>y</name>
          <desc>Y position</desc>
        </param>
        <param>
          <type>bool</type>
          <name>global</name>
          <desc>Whether to retrieve the global wind value.</desc>
          <optional />
        </param>
      </params>
    </syntax>
    <desc>Returns the wind's strength and direction at the specified position. In local calls, the position is an offset to the object position. If global is <code>true</code>, the global wind value is returned.</desc>
    <related><funclink>SetWind</funclink></related>
  </func>
  <author>Cucaracha</author><date>2002-05</date>
</funcs>
