BIS fnc taskType: 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 - "{{Feature|Informative|" to "{{Feature|informative|")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|=
{{RV|type=function


| arma3 |Game=
|game1= arma3
|version1= 1.58


|1.58|Game Version=
|arg= global|gr1= Tasks


|arg= global|Multiplayer Arguments=
|descr= Returns type of given task. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}}


|gr1 = Tasks |GROUP1=
|s1= taskID call [[BIS_fnc_taskType]]


| Returns type of given task. {{Informative| See [[Arma 3 Task Framework]] for more information.}}|Description=
|p1= taskID: [[String]] - task ID


| taskID call [[BIS_fnc_taskType]] |Syntax=
|r1= [[String]] - task type or type 'Default' if not defined.


|p1= taskID: [[String]] - Task ID |Parameter 1=
|x1= <sqf>["BIS_Task_01"] call BIS_fnc_taskType;</sqf>


| [[String]] - Task type or type 'Default' if not defined. |Return Value=
|seealso= [[Arma 3: Task Framework]]
 
|x1= <code>["BIS_Task_01"] [[call]] [[BIS_fnc_taskType]];</code>|Example 1=
 
| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |See Also=
}}
}}
[[Category:Functions|{{uc:taskHint}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:taskHint}}]]

Latest revision as of 01:24, 2 February 2024

Hover & click on the images for description

Description

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

Syntax

Syntax:
taskID call BIS_fnc_taskType
Parameters:
taskID: String - task ID
Return Value:
String - task type or type 'Default' if not defined.

Examples

Example 1:
["BIS_Task_01"] call BIS_fnc_taskType;

Additional Information

See also:
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