BIS fnc taskSetType: 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=


|eff= global|Multiplayer Effects=
|eff= global|Multiplayer Effects=
____________________________________________________________________________________________
|<pre>/*
Description:
Sets task type to given task.
Parameters:
0: STRING - task id
1: STRING - task type
Returns:
STRING - task id
*/
</pre>|DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_taskSetType]]; --> |SYNTAX=
| Sets task type to given task. {{Informative| See [[Arma 3 Task Framework]] for more information.}}|Description=


|p1= |PARAMETER1=
| [taskID,type] call [[BIS_fnc_taskSetType]] |Syntax=


| |RETURNVALUE=
|p1= taskID: [[String]] - Task ID |Parameter 1=
____________________________________________________________________________________________


|x1= <code>[_taskId:string,_taskType:string] call BIS_fnc_taskSetType;</code> |EXAMPLE1=
|p2= taskType: [[String]] - Task Type from [[configfile]] >> "CfgTaskTypes" |Parameter 2=


|x2= <code>["AttackMike26","attack"] call BIS_fnc_taskSetType;</code>|EXAMPLE2=  
| [[String]] -  Task ID. |Return Value=
____________________________________________________________________________________________


| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3 Task Framework]] |SEEALSO=
|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=
}}
}}


<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:taskSetType}}]]
[[Category:Functions|{{uc:taskSetType}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:taskSetType}}]]

Revision as of 20:35, 11 September 2019

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

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