taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


| [[String]] |= Return Value
| [[String]] |RETURNVALUE=


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



Revision as of 14:50, 7 April 2019


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.58|1.58]]
Hover & click on the images for description

Description

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

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

[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | TASKTYPE]][[ Category: A3: Scripting Commands | TASKTYPE]]

Bottom Section