<remark>If target1 or target2 is omitted or <code>nil</code>, the previously set action target(s) will be preserved. To effectively clear action targets, use <funclink>SetActionTargets</funclink>.</remark>
<remark>The StartCall of the defined action is called during the execution of SetAction. So if the StartCall should happen to delete the object you must not access the object in any way following the call to SetAction!</remark>
<examples>
<example>
<code>SetAction("Dead");</code>
<text>The calling clonk will pretend death.</text>