taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
<!-- taskType -->
<!-- taskType -->
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.58|Game Version (number surrounded by NO SPACES)=
|1.58


|gr1= Briefing |GROUP1=
|gr1= Briefing




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


| '''taskType''' task |SYNTAX=
| '''taskType''' task


|p1= task: [[Task]] |PARAMETER1=
|p1= task: [[Task]]


| [[String]] |RETURNVALUE=
| [[String]]


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


| [[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]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 12:26, 18 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