2010-08-22 13:13:17 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
|
<!DOCTYPE funcs
|
|
|
|
SYSTEM '../../../clonk.dtd'>
|
2009-05-09 13:11:51 +00:00
|
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
|
|
<funcs>
|
2010-08-22 13:13:17 +00:00
|
|
|
<func>
|
|
|
|
<title>ClearParticles</title>
|
2014-01-22 07:00:05 +00:00
|
|
|
<category>Particles</category>
|
2018-03-24 22:13:08 +00:00
|
|
|
<version>1.0 OC</version>
|
2010-08-22 13:13:17 +00:00
|
|
|
<syntax>
|
|
|
|
<rtype>bool</rtype>
|
|
|
|
</syntax>
|
2013-12-17 17:09:14 +00:00
|
|
|
<desc>Removes all particles associated with the calling object or the global particles if not called from object context.</desc>
|
2010-08-22 13:13:17 +00:00
|
|
|
<examples>
|
|
|
|
<example>
|
2013-12-17 17:09:14 +00:00
|
|
|
<code>
|
|
|
|
GetCursor(0)->ClearParticles();
|
|
|
|
Scenario->ClearParticles();</code>
|
|
|
|
<text>Removes all particles belonging to the first player's Clonk and all global particles.</text>
|
2010-08-22 13:13:17 +00:00
|
|
|
</example>
|
|
|
|
</examples>
|
|
|
|
<related>
|
|
|
|
<funclink>CreateParticle</funclink>
|
|
|
|
</related>
|
|
|
|
</func>
|
2013-12-17 17:09:14 +00:00
|
|
|
<author>Zapper</author><date>2013-12</date>
|
2010-08-22 13:13:17 +00:00
|
|
|
</funcs>
|