Description
Set a task's destination.
Note
See Arma 3: Task Framework for more information.
Syntax
[taskName, destination] call BIS_fnc_taskSetDestination
Parameters:
taskName: Stringdestination: Object, Array, Position or String - task destination:- Object - task will be displayed on the object if player knows about it, otherwise it will be on estimated position or even hidden
- Array format [object, forceRealPosition]:
- Position - task will be on given positon
- String - marker name. Task will be at markers current position (Won't update if marker was moved)
Returns: String - task ID
Examples
Example 1
["BIS_task_01", [1337, 1337, 0]] call BIS_fnc_taskSetDestination;