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 35 36 37 38
|
<?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>GetActionTarget</title>
<category>Objects</category>
<subcat>Activity</subcat>
<version>5.1 OC</version>
<syntax>
<rtype>object</rtype>
<params>
<param>
<type>int</type>
<name>index</name>
<desc>0 for target, or 1 for target2</desc>
</param>
</params>
</syntax>
<desc>Returns the current action targets of the calling object.</desc>
<examples>
<example>
<code>GetActionTarget()->~ChopDown();</code>
<text>If executed in the StartCall of the Chop action, instantly fells the tree.</text>
</example>
</examples>
<related>
<funclink>GetAction</funclink>
<funclink>GetActTime</funclink>
<funclink>GetPhase</funclink>
<funclink>SetAction</funclink>
<funclink>SetActionTargets</funclink>
<funclink>SetPhase</funclink>
</related>
</func>
<author>Günther</author><date>2002-04</date>
</funcs>
|