taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
<!-- taskType -->
<!-- taskType -->
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:
|gr1= Briefing |GROUP1=
|gr1= Briefing |GROUP1=


____________________________________________________________________________________________


| Returns the type of the given task |DESCRIPTION=
| Returns the type of the given task |DESCRIPTION=
____________________________________________________________________________________________


| '''taskType''' task |SYNTAX=
| '''taskType''' task |SYNTAX=
Line 20: Line 17:
| [[String]] |RETURNVALUE=
| [[String]] |RETURNVALUE=


____________________________________________________________________________________________
   
   
|x1= <code>_type = [[taskType]] ([[currentTask]] [[player]]);</code> |EXAMPLE1=
|x1= <code>_type = [[taskType]] ([[currentTask]] [[player]]);</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[setSimpleTaskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO=  
| [[setSimpleTaskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:58, 17 January 2021


Hover & click on the images for description

Description

Description:
Returns the type of the given task
Groups:
Briefing

Syntax

Syntax:
taskType task
Parameters:
task: Task
Return Value:
String

Examples

Example 1:
_type = taskType (currentTask player);

Additional Information

See also:
setSimpleTaskTypecurrentTasksetSimpleTaskCustomDatataskCustomDataTasks Overhaul

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

Bottom Section