BIS_fnc_taskSetDestination
- Global argument
- Global effect
- Arma 3 v1.00
Function · Markdown · JSON · original wiki page
Description
Set a task's destination.
Note
See Arma 3: Task Framework for more information.
Syntax
[taskName, destination] call BIS_fnc_taskSetDestination
Parameters:
-
taskName: String -
destination: 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;