BIS fnc taskSetType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3|1.58 | |game1= arma3 | ||
|version1= 1.58 | |||
|arg= global|eff= global|gr1 = Tasks | |arg= global | ||
|eff= global|gr1= Tasks | |||
| Sets task type to given task. {{Feature| | |descr= Sets task type to given task. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}} | ||
| [taskID,type] call [[BIS_fnc_taskSetType]] | |s1= [taskID,type] call [[BIS_fnc_taskSetType]] | ||
|p1= taskID: [[String]] - | |p1= taskID: [[String]] - task ID | ||
|p2= taskType: [[String]] - | |p2= taskType: [[String]] - task Type from [[configfile]] >> "CfgTaskTypes" | ||
| [[String]] - | |r1= [[String]] - task ID. | ||
|x1= < | |x1= <sqf>["BIS_Task_01","attack"] call BIS_fnc_taskSetType;</sqf> | ||
| | |seealso= [[Arma 3: Task Framework]] | ||
}} | }} | ||
Latest revision as of 01:24, 2 February 2024
Description
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:
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