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

25 lines
903 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>
<func>
<title>PlaceAnimal</title>
<category>Environment</category>
<version>5.1 OC</version>
<syntax>
<rtype>object</rtype>
<params>
<param>
<type>id</type>
<name>animal_id</name>
<desc>Type of the animal to be created.</desc>
</param>
</params>
</syntax>
<desc>Creates an animal of the specified type in the landscape. The placement position depends on the Placement value in the <emlink href="definition/defcore.html">DefCore</emlink> of the animal's definition. Returns a pointer to the newly created animal.</desc>
<related><funclink>PlaceVegetation</funclink></related>
</func>
<author>jwk</author><date>2002-08</date>
</funcs>