taskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(clarify desc, return value.)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the description of the task. |= Description
| Returns the sub-parts of the task description. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''taskDescription''' task |= Syntax
| [[Array]] <nowiki>=</nowiki> '''taskDescription''' task |= Syntax


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


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  
Line 18: Line 18:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| [[Array]] |= RETURNVALUE  
| [[Array]]: [Task description, Task title, Task waypoint description] |= RETURNVALUE  




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_taskDescArray <nowiki>=</nowiki> taskDescription _task;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setSimpleTaskDescription]], [[createSimpleTask]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 23:49, 12 February 2012

Hover & click on the images for description

Description

Description:
Returns the sub-parts of the task description.
Groups:
Uncategorised

Syntax

Syntax:
Array = taskDescription task
Parameters:
task: Task
Return Value:
Array: [Task description, Task title, Task waypoint description]

Examples

Example 1:
_taskDescArray = taskDescription _task;

Additional Information

See also:
setSimpleTaskDescriptioncreateSimpleTask

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

Notes

Bottom Section