<?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>GetDamage</title>
    <category>Objects</category>
    <subcat>Status</subcat>
    <version>5.1 OC</version>
    <syntax><rtype>int</rtype></syntax>
    <desc>Determines the damage level of an object.</desc>
    <examples>
      <example>
        <code><funclink>if</funclink>(GetDamage() &gt; 100) <funclink>Split2Components</funclink>();</code>
        <text>Decomposes the calling object if it has taken too much damage.</text>
      </example>
    </examples>
    <related>
      <funclink>DoDamage</funclink>
      <funclink>DoEnergy</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2002-05</date>
</funcs>
