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

31 lines
841 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>Punch</title>
<category>Objects</category>
<subcat>Living Beings</subcat>
<version>5.1 OC</version>
<syntax>
<rtype>bool</rtype>
<params>
<param>
<type>object</type>
<name>obj</name>
<desc>The victim.</desc>
</param>
<param>
<type>int</type>
<name>strength</name>
<desc>Strength of the punch (life energy to be subtracted).</desc>
</param>
</params>
</syntax>
<desc>Punches the target object.</desc>
<related><funclink>DoEnergy</funclink></related>
</func>
<author>jwk</author><date>2002-06</date>
</funcs>