BIS fnc taskSetType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 5: Line 5:
|arg= global|eff= global|gr1= Tasks
|arg= global|eff= global|gr1= Tasks


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


|s1=[taskID,type] call [[BIS_fnc_taskSetType]]
|s1=[taskID,type] call [[BIS_fnc_taskSetType]]

Revision as of 21:55, 13 June 2021

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