openclonk/docs/sdk/script/fn/C4D_Object.xml

27 lines
923 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
<const>
<title>C4D_Object</title>
<category>Objects</category>
<subcat>Category</subcat>
<version>1.0 OC</version>
<syntax><rtype>int </rtype></syntax>
<desc>Object category: Item that can hit alive objects.</desc>
<examples>
<example>
<code><funclink>GetDefinition</funclink>(0, C4D_Object);</code>
<text>Returns the id of the first loaded definition with C4D_Object. Similar scripting is used in the research lab to list researchable objects.</text>
</example>
</examples>
<related>
<funclink>GetCategory</funclink>
<funclink>SetCategory</funclink>
<funclink>GetAlive</funclink>
</related>
</const>
<author>Günther</author><date>2002, 2011</date>
</funcs>