<?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>ClearParticles</title>
    <category>Particle</category>
    <version>5.1 OC</version>
    <syntax>
      <rtype>bool</rtype>
      <params>
        <param>
          <type>string</type>
          <name>name</name>
          <desc>Name of the particle definition of which you want to delete all particles. If not specified, all particles of all types will be removed.</desc>
		  <optional />
        </param>
        <param>
          <type>object</type>
          <name>obj</name>
          <desc>If specified, only the particles local to that object are removed.</desc>
		  <optional />
        </param>
      </params>
    </syntax>
    <desc>Removes all particles of the specified type.</desc>
    <examples>
      <example>
        <code>ClearParticles(&quot;Smoke&quot;);</code>
        <text>Removes all smoke.</text>
      </example>
    </examples>
    <related>
      <funclink>CreateParticle</funclink>
      <funclink>PushParticles</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2002-04</date>
</funcs>
