1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<?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>FindOtherContents</title>
<category>Objects</category>
<subcat>Search</subcat>
<version>5.1 OC</version>
<syntax>
<rtype>object</rtype>
<params>
<param>
<type>id</type>
<name>type</name>
<desc>id of the object type to be ignored.</desc>
</param>
</params>
</syntax>
<desc>Returns the first contained object which is not of the specified type.</desc>
<examples>
<example>
<code><funclink>if</funclink> (!FindOtherContents(PowderKeg)) <funclink>Message</funclink>("No projectile");</code>
<text>Displays a message if the object contains nothing but gunpowder.</text>
</example>
</examples>
<related>
<funclink>FindContents</funclink>
<funclink>Contents</funclink>
</related>
</func>
<author>Sven2</author><date>2001-11</date>
</funcs>
|