Description
Attach a target to the simple task. Overrides setSimpleTaskDestination.
Syntax
task setSimpleTaskTarget [target, precisePosition]
Parameters:
task: Tasktarget: ObjectprecisePosition: Boolean - use exact position of the target for map marker / HUD indicator instead of the position known to the task's owner (depending on the unit's knowledge of the target)
Returns: Nothing
Examples
Example 1
_task setSimpleTaskTarget [targetVehicle, true];