Cattle and Crops: Mission Documentation
command: navigateTo
Lässt ein Fahrzeug zu einem Zielpunkt navigieren (benutzt das Straßen-System).
Attribute
Attribute | Type | Value | Beschreibung |
---|---|---|---|
command |
integer |
* |
Die ID des Commands/Fahrzeugs. |
Option 1: posX , posY |
float |
* |
Zielkoordinaten x und y |
Option 2: targetNode |
string |
* |
Node-Name des Ziels. |
Option 3: targetID |
integer |
* |
InfoForTaskAndQuestId des Ziels. |
Option 4: fieldId |
integer |
* |
Feld-ID des Ziels. |
Beispiel
…
<commands>
<command type="navigateTo" command="200" posX="356.7" posY="-123.4" />
<command type="navigateTo" command="300" targetNode="MyTargetNodeName" />
<command type="navigateTo" command="400" targetID="41" />
<command type="navigateTo" command="500" fieldId="5" />
</commands>
…