<?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>SetCon</title>
    <category>Objects</category>
    <subcat>Status</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>bool</rtype>
      <params>
        <param>
          <type>int</type>
          <name>con</name>
          <desc>Completion/growth in percent</desc>
        </param>
      </params>
    </syntax>
    <desc>Sets the completion of an object to the specified value.</desc>
    <examples>
      <example>
        <code><funclink>GetCrew</funclink>(0,0)-&gt;SetCon(50);</code>
        <text>Shrinks the first clonk of the first player to half size.</text>
      </example>
    </examples>
    <related>
      <funclink>DoCon</funclink>
      <funclink>GetCon</funclink>
      <funclink>OCF_FullCon</funclink>
      <funclink>OCF_Construct</funclink>
    </related>
  </func>
  <author>flgr</author><date>2002-01</date>
  <author>matthes</author><date>2004-07</date>
</funcs>
