BIS fnc taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also and locality)
m (page formatting)
Line 1: Line 1:
{{Function|=


{{Function|Comments=
| arma3 |Game=
____________________________________________________________________________________________


| arma3 |Game name=
|1.58|Game Version=
 
|1.00|Game version=


|arg= global|Multiplayer Arguments=
|arg= global|Multiplayer Arguments=
____________________________________________________________________________________________


|  
| Returns type of given task. {{Informative| See [[Arma 3 Task Framework]] for more information.}}|Description=
<pre>/*


Description:
| taskID call [[BIS_fnc_taskType]] |Syntax=
Returns type of given task.


Parameters:
|p1= taskID: [[String]] - Task ID |Parameter 1=
0: STRING - task id


Returns:
| [[String]] - Task type or type 'Default' if not defined. |Return Value=
STRING - task type or type 'Default' if not defined
*/


</pre>|DESCRIPTION=
|x1= <code>["BIS_Task_01"] [[call]] [[BIS_fnc_taskType]];</code>|Example 1=
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_taskType]]; --> |SYNTAX=
 
|p1= |PARAMETER1=
 
| |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_taskType:string = [_taskId:string] call BIS_fnc_taskType;</code> |EXAMPLE1=
 
|x2= <code>_type = ["AttackMike26"] call BIS_fnc_taskType;</code> |EXAMPLE2=
____________________________________________________________________________________________
 
|[[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |SEEALSO=


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


<h3 style="display:none">Notes</h3>
[[Category:Function Group: Tasks|{{uc:taskHint}}]]
<dl class="command_description">
[[Category:Functions|{{uc:taskHint}}]]
<!-- Note Section BEGIN -->
[[Category:{{Name|arma3}}: Functions|{{uc:taskHint}}]]
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Tasks|{{uc:taskType}}]]
[[Category:Functions|{{uc:taskType}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:taskType}}]]

Revision as of 20:32, 11 September 2019

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:
Uncategorised

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