setSimpleTaskTarget

From Bohemia Interactive Community
Revision as of 15:11, 20 September 2025 by Lou Montana (talk | contribs) (Fix version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description

Description

Description:
Attach a target to the simple task.
Overrides setSimpleTaskDestination.
Groups:
Briefing

Syntax

Syntax:
task setSimpleTaskTarget [target, precisePosition]
Parameters:
task: Task
target: Object
precisePosition: 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)
Return Value:
Nothing

Examples

Example 1:
_task setSimpleTaskTarget [targetVehicle, true];

Additional Information

See also:
briefing createSimpleTask setSimpleTaskDestination

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note