setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added Parameter)
(format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| tsk '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |= Syntax
| task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD] |= Syntax


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


|p2= [description, descriptionShort, descriptionHUD]: [[Array]] |= PARAMETER2  
|p2= [description, descriptionShort, descriptionHUD]: [[Array]] |= PARAMETER2  
Line 25: Line 25:




|x1= <code>tskCaptObj setSimpleTaskDescription ["Today you have to kill Spongebob.", "Kill Spongebob", "Here he is !"];</code>|= EXAMPLE1  
|x1= <code>mytask [[setSimpleTaskDescription]] ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 11:50, 30 April 2015

Hover & click on the images for description

Description

Description:
Attach descriptions to the simple task.
Groups:
Uncategorised

Syntax

Syntax:
task setSimpleTaskDescription [description, descriptionShort, descriptionHUD]
Parameters:
task: Task
[description, descriptionShort, descriptionHUD]: Array
description: String - Task description
descriptionShort: String - Task title
descriptionHUD: String - Task waypoint description
Return Value:
Nothing

Examples

Example 1:
mytask setSimpleTaskDescription ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];

Additional Information

See also:
taskDescriptionTaskscreateSimpleTaskremoveSimpleTasksetSimpleTaskDestinationsetTaskStatesetTaskResulttaskState

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