BIS_fnc_setTask
Jump to navigation
Jump to search
Description
- Description:
/* Description: Set a task parameters. Create the task when it doesn't exist. Parameters: 0: STRING or ARRAY - Task ID or array in the format [task ID, parent task ID] 1: Task owner(s) BOOL - true to set task of all playable units OBJECT - set task of a specific object GROUP - set tasks of all objects in the group SIDE - set tasks of all objects of the given side ARRAY - collection of above types 2: ARRAY or STRING - Task description in the format ["description", "title", "marker"] or CfgTaskDescriptions class 3: Task destination OBJECT ARRAY - either position in format [x,y,z], or [object,precision] as used by setSimpleTaskTarget command 4: Task state STRING - can be one of following: "CREATED" "ASSIGNED" "AUTOASSIGNED" ("ASSIGNED" when no task is assigned yet, otherwise "CREATED") "SUCCEEDED" "FAILED" "CANCELED" BOOL - true to set the task as current 5: NUMBER - priority. When a current task is completed, system select a next one with the larges priority >= 0 6: BOOL - true to show notification (default), false to disable it 7: BOOL - true to set task globally (default), false to set it only locally Returns: STRING - Task ID */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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