taskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added an example to taskType)
(Fixed incorrect example and added currentTask to see also)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>(currentTask player) setSimpleTaskType "attack";</code> |= Example 1
|x1= <code>_type = taskType (currentTask player);</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setSimpleTaskType]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |= SEEALSO  
| [[setSimpleTaskType]], [[currentTask]], [[setSimpleTaskCustomData]], [[taskCustomData]], [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 05:12, 5 June 2016


-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