setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(8 intermediate revisions by the same user not shown)
Line 21: Line 21:
|p1= task: [[Task]]
|p1= task: [[Task]]


|p2= [description, descriptionShort, descriptionHUD]: [[Array]]
|p2= description: [[String]] - task description


|p3= description: [[String]] - Task description
|p3= descriptionShort: [[String]] - task title


|p4= descriptionShort: [[String]] - Task title
|p4= descriptionHUD: [[String]] - task waypoint description
 
|p5= descriptionHUD: [[String]] - Task waypoint description


|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[taskDescription]] [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDestination]], [[setTaskState]], [[setTaskResult]], [[taskState]]
|seealso= [[taskDescription]] [[Tasks]] [[createSimpleTask]] [[removeSimpleTask]] [[setSimpleTaskDestination]] [[setTaskState]] [[setTaskResult]] [[taskState]]
}}
}}

Latest revision as of 21:56, 21 August 2022

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: 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", "There he is!"];

Additional Information

See also:
taskDescription Tasks createSimpleTask removeSimpleTask setSimpleTaskDestination setTaskState setTaskResult taskState

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