BIS fnc taskSetType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Tasks(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "[[Arma 3 Task Framework" to "[[Arma 3: Task Framework")
Line 11: Line 11:
|gr1 = Tasks |GROUP1=
|gr1 = Tasks |GROUP1=


| Sets task type to given task. {{Informative| See [[Arma 3 Task Framework]] for more information.}}|Description=
| Sets task type to given task. {{Informative| See [[Arma 3: Task Framework]] for more information.}}|Description=


| [taskID,type] call [[BIS_fnc_taskSetType]] |Syntax=
| [taskID,type] call [[BIS_fnc_taskSetType]] |Syntax=
Line 23: Line 23:
|x1= <code>["BIS_Task_01","attack"] [[call]] [[BIS_fnc_taskSetType]];</code>|Example 1=
|x1= <code>["BIS_Task_01","attack"] [[call]] [[BIS_fnc_taskSetType]];</code>|Example 1=


| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |See Also=
| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3: Task Framework]] |See Also=
}}
}}



Revision as of 23:31, 31 December 2020

Hover & click on the images for description

Description

Description:
Sets task type to given task.
See Arma 3: Task Framework for more information.
Execution:
call
Groups:
Tasks

Syntax

Syntax:
[taskID,type] call BIS_fnc_taskSetType
Parameters:
taskID: String - Task ID
taskType: String - Task Type from configfile >> "CfgTaskTypes"
Return Value:
String - Task ID.

Examples

Example 1:
["BIS_Task_01","attack"] call BIS_fnc_taskSetType;

Additional Information

See also:
Task Functions Arma 3: Task Framework

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