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"?>
|
2009-08-12 20:44:09 +00:00
|
|
|
<funcs>
|
2010-08-22 13:13:17 +00:00
|
|
|
<func>
|
|
|
|
<title>Kill</title>
|
|
|
|
<category>Objects</category>
|
|
|
|
<subcat>Living Beings</subcat>
|
2011-06-30 10:52:55 +00:00
|
|
|
<version>5.1 OC</version>
|
2010-08-22 13:13:17 +00:00
|
|
|
<syntax>
|
|
|
|
<rtype>bool</rtype>
|
|
|
|
<params>
|
|
|
|
<param>
|
|
|
|
<type>bool</type>
|
|
|
|
<name>forced</name>
|
2011-06-30 10:52:55 +00:00
|
|
|
<desc>If set, the object will be killed, even if an effect tries to prevent this. .</desc>
|
2010-08-22 13:13:17 +00:00
|
|
|
<optional />
|
|
|
|
</param>
|
|
|
|
</params>
|
|
|
|
</syntax>
|
|
|
|
<desc>Kills an object. Applies to living beings only.</desc>
|
|
|
|
<examples>
|
|
|
|
<example>
|
2011-07-17 17:41:48 +00:00
|
|
|
<code><funclink>FindObject</funclink>(<funclink>Find_OCF</funclink>(<funclink>OCF_Alive</funclink>()))->Kill();</code>
|
2010-08-22 13:13:17 +00:00
|
|
|
<text>Kills a living being.</text>
|
|
|
|
</example>
|
|
|
|
</examples>
|
|
|
|
<related>
|
|
|
|
<funclink>Punch</funclink>
|
|
|
|
<funclink>RemoveObject</funclink>
|
|
|
|
</related>
|
|
|
|
</func>
|
|
|
|
<author>Sven2</author><date>2004-03</date>
|
2009-08-12 20:44:09 +00:00
|
|
|
</funcs>
|