<desc>Gives a command to an object. The object will try to complete the command using the internal artificial intelligence (including pathfinding).</desc>
<col>Type of object to be acquired. May be bought at the home base if necessary. Material contained in the specified container (Target2) is to be ignored in the search.</col>
</row>
<row>
<literal_col>Activate</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Activate the target object (exit from its container).</col>
</row>
<row>
<literal_col>Activate</literal_col>
<col>Null</col>
<col>0,0</col>
<col>Target object</col>
<col></col>
<col>Open the Get menu for the contents of the target object.</col>
</row>
<row>
<literal_col>Activate</literal_col>
<col>Null</col>
<col>Number,0</col>
<col>Target object</col>
<col>Object type (id)</col>
<col>Activate n objects of the specified type in the target object.</col>
</row>
<row>
<literal_col>Attack</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Attack the target object.</col>
</row>
<row>
<literal_col>Buy</literal_col>
<col>Null</col>
<col>0,0</col>
<col>Null</col>
<col>Object type (id)</col>
<col>Buy an object of the specified type at the closest friendly home base.</col>
</row>
<row>
<literal_col>Buy</literal_col>
<col>Basis</col>
<col>Number,0</col>
<col>Null</col>
<col>Object type (id)</col>
<col>Buy n objects of the specified type at the home base.</col>
</row>
<row>
<literal_col>Buy</literal_col>
<col>Basis</col>
<col></col>
<col></col>
<col></col>
<col>Open the Buy menu for the specified home base.</col>
</row>
<row>
<literal_col>Call</literal_col>
<col>Object</col>
<col>Par(1),Par(2)</col>
<col>Par(3)</col>
<col><em>Function</em> (string)</col>
<col>Call <em>Function</em> in the object script. Par(0) will be the calling object. If the command fails because underlaying commands have failed, the function <em>Function</em>Failed is called instead.</col>
</row>
<row>
<literal_col>Chop</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Fell the target object object (tree).</col>
</row>
<row>
<literal_col>Dig</literal_col>
<col>Null</col>
<col>Target position</col>
<col></col>
<col></col>
<col>Dig towards the target position.</col>
</row>
<row>
<literal_col>Drop</literal_col>
<col></col>
<col></col>
<col></col>
<col></col>
<col>Immediately drop the first object in the inventory.</col>
</row>
<row>
<literal_col>Drop</literal_col>
<col>Null</col>
<col>Target position</col>
<col></col>
<col></col>
<col>Drop the first object in the inventory at the target position.</col>
</row>
<row>
<literal_col>Drop</literal_col>
<col>Target object</col>
<col>Target position</col>
<col></col>
<col></col>
<col>Collect the target object and drop it at the target position.</col>
</row>
<row>
<literal_col>Enter</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Enter the target object.</col>
</row>
<row>
<literal_col>Exit</literal_col>
<col></col>
<col></col>
<col></col>
<col></col>
<col>Exit the current container.</col>
</row>
<row>
<literal_col>Follow</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Follow the target object (permanently).</col>
</row>
<row>
<literal_col>Get</literal_col>
<col>Target object</col>
<col></col>
<col></col>
<col></col>
<col>Collect the target object, dig it out if necessary.</col>
<text>This script gives the clonk the order to attack the closest clonk of player 1. If the command fails (e.g. due to unsuccessful pathfinding), retry 10 times.</text>