setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
Line 17: Line 17:
|descr= Attach descriptions to the simple task.
|descr= Attach descriptions to the simple task.


|s1= task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD]
|s1= task [[setSimpleTaskDescription]] [description, descriptionShort, descriptionHUD]


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

Revision as of 19:11, 20 June 2021

Hover & click on the images for description

Description

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

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